@charset "UTF-8";
/*******************************************************************************
 * Variables used throughout the theme.
 * To adjust anything, simply edit the variables below and rebuild the theme.
 ******************************************************************************/
/*******************************************************************************
 * Themes
 ******************************************************************************/
:root {
  --global-bg-color: #ffffff;
  --global-code-bg-color: rgba(140, 71, 32, 0.05);
  --global-text-color: #000000;
  --global-text-color-light: #828282;
  --global-theme-color: #8c4720;
  --global-hover-color: #8c4720;
  --global-footer-bg-color: #1C1C1D;
  --global-footer-text-color: #e8e8e8;
  --global-footer-link-color: #ffffff;
  --global-distill-app-color: #828282;
  --global-divider-color: rgba(0,0,0,.1);
  --global-card-bg-color: #ffffff;
}
:root .fa-sun {
  display: none;
}
:root .fa-moon {
  padding-left: 10px;
  padding-top: 12px;
  display: block;
}
:root .repo-img-light {
  display: block;
}
:root .repo-img-dark {
  display: none;
}

html[data-theme=dark] {
  --global-bg-color: #16171b;
  --global-code-bg-color: #1d1f24;
  --global-text-color: #e3e4e8;
  --global-text-color-light: #b7bac3;
  --global-theme-color: #d3ab86;
  --global-hover-color: #d3ab86;
  --global-footer-bg-color: #111214;
  --global-footer-text-color: rgba(255, 255, 255, 0.62);
  --global-footer-link-color: rgba(255, 255, 255, 0.78);
  --global-distill-app-color: #e3e4e8;
  --global-divider-color: #353840;
  --global-card-bg-color: #1c1f25;
}
html[data-theme=dark] .fa-sun {
  padding-left: 10px;
  padding-top: 12px;
  display: block;
}
html[data-theme=dark] .fa-moon {
  display: none;
}
html[data-theme=dark] .repo-img-light {
  display: none;
}
html[data-theme=dark] .repo-img-dark {
  display: block;
}

/******************************************************************************
 * Content
 ******************************************************************************/
html {
  scrollbar-gutter: stable;
}

body {
  padding-bottom: 70px;
  color: var(--global-text-color);
  background-color: var(--global-bg-color);
}
body h1, body h2, body h3, body h4, body h5, body h6 {
  scroll-margin-top: 66px;
}

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,
li,
span,
strong {
  color: var(--global-text-color);
}

hr {
  border-top: 1px solid var(--global-divider-color);
}

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

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 :not(.nav-item.dropdown),
table.table a:hover:after :not(.nav-item.dropdown) {
  width: 100%;
}

figure,
img {
  max-width: 90vw;
}

blockquote {
  background: var(--global-bg-color);
  border-left: 2px solid var(--global-theme-color);
  margin: 1.5em 10px;
  padding: 0.5em 10px;
  font-size: 1.2rem;
}

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

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

.card {
  background-color: var(--global-card-bg-color);
}
.card img {
  width: 100%;
}
.card .card-title {
  color: var(--global-text-color);
}
.card .card-item {
  width: auto;
  margin-bottom: 10px;
}
.card .card-item .row {
  display: flex;
  align-items: center;
}

.citation,
.citation-number {
  color: var(--global-theme-color);
}

.profile {
  width: 100%;
}
.profile .address {
  margin-bottom: 5px;
  margin-top: 5px;
  font-family: var(--global-font-family);
  font-size: 0.95rem;
  opacity: 0.8;
  letter-spacing: 0.2px;
  font-weight: 500;
  color: var(--global-text-color-light);
}
.profile .address p {
  display: inline-block;
  margin: 0;
}
.profile figure img.rounded {
  border-radius: 12px;
}
.profile img {
  transition: transform 0.3s ease;
}
.profile img:hover {
  transform: scale(1.02);
}

.about-page .post-title {
  margin-bottom: 10px;
}

.profile.float-right {
  margin-left: 1rem;
}

.profile.float-left {
  margin-right: 1rem;
}

@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 #8c4720;
  background-color: var(--global-bg-color);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.navbar .dropdown-menu {
  background-color: var(--global-bg-color);
  border: 1px solid var(--global-divider-color);
}
.navbar .dropdown-menu a:not(.active) {
  color: var(--global-text-color);
}
.navbar .dropdown-menu a:hover {
  color: var(--global-hover-color);
}
.navbar .dropdown-menu .dropdown-divider {
  border-top: 1px solid var(--global-divider-color) !important;
}

.dropdown-item {
  color: var(--global-text-color);
}
.dropdown-item:hover {
  color: var(--global-hover-color);
  background-color: var(--global-bg-color);
}

.navbar.navbar-light > .container {
  align-items: center;
}
.navbar.navbar-light .navbar-nav {
  align-items: center;
}
.navbar.navbar-light .navbar-nav > .nav-item {
  display: flex;
  align-items: center;
}
.navbar.navbar-light .navbar-nav .nav-link {
  display: flex;
  align-items: center;
}
.navbar.navbar-light a:hover {
  text-decoration: none;
}
.navbar.navbar-light .navbar-brand {
  color: var(--global-text-color);
  display: flex;
  align-items: center;
}
.navbar.navbar-light .navbar-brand.navbar-site-name {
  color: var(--global-text-color);
  transition: color 0.2s ease;
  font-weight: 600;
}
.navbar.navbar-light .navbar-brand.navbar-site-name span {
  color: inherit !important;
  transition: color 0.2s ease;
  font-weight: inherit;
}
.navbar.navbar-light .navbar-brand.navbar-site-name:hover, .navbar.navbar-light .navbar-brand.navbar-site-name:hover span {
  color: var(--global-theme-color) !important;
}
.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 .navbar-brand.social,
.navbar.navbar-light .navbar-nav .navbar-social-icons,
.navbar.navbar-light .navbar-nav .navbar-icons {
  padding-bottom: 0;
  padding-top: 0;
  font-size: 1.45rem;
  line-height: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.navbar.navbar-light .navbar-brand.social a,
.navbar.navbar-light .navbar-nav .navbar-social-icons a,
.navbar.navbar-light .navbar-nav .navbar-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
  line-height: 1;
  opacity: 0.78;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.navbar.navbar-light .navbar-brand.social a i,
.navbar.navbar-light .navbar-nav .navbar-social-icons a i,
.navbar.navbar-light .navbar-nav .navbar-icons a i {
  line-height: 1;
}
.navbar.navbar-light .navbar-brand.social a i::before,
.navbar.navbar-light .navbar-nav .navbar-social-icons a i::before,
.navbar.navbar-light .navbar-nav .navbar-icons a i::before {
  color: var(--global-text-color);
  transition: color 0.2s ease;
}
.navbar.navbar-light .navbar-brand.social a:hover,
.navbar.navbar-light .navbar-nav .navbar-social-icons a:hover,
.navbar.navbar-light .navbar-nav .navbar-icons a:hover {
  opacity: 1;
  transform: translateY(-1px);
}
.navbar.navbar-light .navbar-brand.social a:hover i::before,
.navbar.navbar-light .navbar-nav .navbar-social-icons a:hover i::before,
.navbar.navbar-light .navbar-nav .navbar-icons a:hover i::before {
  color: var(--global-theme-color);
}
.navbar.navbar-light .navbar-nav-social {
  margin-left: 1rem;
}
.navbar.navbar-light .navbar-nav .toggle-container {
  margin-left: 0.65rem;
}
.navbar.navbar-light #light-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  padding: 0;
  border: 0;
  background-color: inherit;
  color: var(--global-text-color);
  line-height: 1;
  min-width: 2.25rem;
  min-height: 2.25rem;
}
.navbar.navbar-light #light-toggle i.fa-moon,
.navbar.navbar-light #light-toggle i.fa-sun {
  padding: 0 !important;
  margin: 0;
  line-height: 1;
  vertical-align: middle;
}
.navbar.navbar-light #light-toggle:hover {
  color: var(--global-hover-color);
}

.navbar-toggler .icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--global-text-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);
}

.social {
  text-align: center;
}
.social .contact-icons {
  font-size: 4rem;
}
.social .contact-icons a i::before {
  color: var(--global-text-color);
  transition-property: all 0.2s ease-in-out;
}
.social .contact-icons a:hover i::before {
  color: var(--global-theme-color);
}
.social .contact-note {
  font-size: 0.8rem;
}

footer.fixed-bottom {
  background-color: var(--global-footer-bg-color);
  border-top: 2px solid #8c4720 !important;
  font-size: 0.75rem;
  padding-top: 12px;
  padding-bottom: 12px;
}
footer.fixed-bottom .container {
  color: var(--global-footer-text-color);
  padding-top: 0;
  padding-bottom: 0;
}
footer.fixed-bottom a {
  color: var(--global-footer-link-color);
}
footer.fixed-bottom a:hover {
  color: var(--global-theme-color);
  text-decoration: none;
}

footer.sticky-bottom {
  border-top: 2px solid #8c4720 !important;
  padding-top: 12px;
  padding-bottom: 12px;
  font-size: 0.9rem;
}

.cv-header-row {
  width: 100%;
}

.cv-pdf-actions {
  font-size: 0.92rem;
  white-space: nowrap;
}
.cv-pdf-actions .cv-pdf-link {
  color: var(--global-theme-color);
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
}
.cv-pdf-actions .cv-pdf-link:hover {
  color: var(--global-hover-color);
  opacity: 0.82;
  transform: translateY(-1px);
  text-decoration: none;
}
.cv-pdf-actions .cv-pdf-sep {
  color: var(--global-text-color-light);
  margin: 0 0.4rem;
}

.cv-toc.on-this-page {
  margin-bottom: 1.25rem;
  padding: 0.85rem 1.1rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.cv-toc.on-this-page .cv-toc-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--global-text-color-light);
  margin-bottom: 0.45rem;
}
.cv-toc.on-this-page .cv-toc-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  font-size: 0.98rem;
}
.cv-toc.on-this-page .cv-toc-list li {
  margin-bottom: 0.2rem;
}
.cv-toc.on-this-page .cv-toc-list a {
  color: var(--global-text-color);
  text-decoration: none;
  transition: color 0.15s ease;
}
.cv-toc.on-this-page .cv-toc-list a:hover {
  color: var(--global-theme-color);
}

html[data-theme=dark] .cv-toc.on-this-page {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cv {
  margin-bottom: 40px;
}
.cv .card {
  background-color: var(--global-card-bg-color);
  border: 1px solid var(--global-divider-color);
  scroll-margin-top: 72px;
}
.cv .card .list-group-item {
  background-color: inherit;
  border-color: var(--global-divider-color);
}
.cv .card .list-group-item .badge {
  color: var(--global-card-bg-color) !important;
  background-color: var(--global-theme-color) !important;
}

@media (min-width: 768px) {
  .repo {
    max-width: 50%;
  }
}
.header-bar {
  border-bottom: 1px solid var(--global-divider-color);
  text-align: center;
  padding-top: 2rem;
  padding-bottom: 3rem;
}
.header-bar h1 {
  color: var(--global-theme-color);
  font-size: 5rem;
}

.tag-list {
  border-bottom: 1px solid var(--global-divider-color);
  text-align: center;
  padding-top: 1rem;
}
.tag-list ul {
  justify-content: center;
  display: flow-root;
}
.tag-list ul p,
.tag-list ul li {
  list-style: none;
  display: inline-block;
  padding: 1rem 0.5rem;
  color: var(--global-text-color-light);
}

.post-list {
  margin: 0;
  margin-bottom: 40px;
  padding: 0;
}
.post-list li {
  border-bottom: 1px solid var(--global-divider-color);
  list-style: none;
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.post-list li .post-meta {
  color: var(--global-text-color-light);
  font-size: 0.875rem;
  margin-bottom: 0;
}
.post-list li .post-tags {
  color: var(--global-text-color-light);
  font-size: 0.875rem;
  padding-top: 0.25rem;
  padding-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 {
  color: #ffffff;
  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 a {
  text-decoration: none;
}
.projects a:hover .card-title {
  color: var(--global-theme-color);
}
.projects .card-item .card img,
.projects .card .card-img img {
  width: 100%;
}
.projects .card-item {
  width: auto;
  margin-bottom: 10px;
}
.projects .card-item .row {
  display: flex;
  align-items: center;
}
.projects .grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  width: 100%;
  margin: 0;
}
@media (max-width: 768px) {
  .projects .grid {
    grid-template-columns: 1fr;
  }
}
.projects .grid-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin-bottom: 0;
  width: auto;
}
.projects .grid-item > a {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  color: inherit;
}
.projects .grid-item .card {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
}
.projects .grid-item .project-image-wrapper {
  flex-shrink: 0;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f7f7;
  overflow: hidden;
}
.projects .grid-item .project-image-wrapper figure {
  margin: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.projects .grid-item .project-image-wrapper picture {
  display: contents;
}
.projects .grid-item .project-image-wrapper img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.projects .grid-item .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 340px;
}
.projects .grid-item .card-body > .row:last-child {
  margin-top: auto;
}
.projects h2.category {
  color: var(--global-divider-color);
  border-bottom: 1px solid var(--global-divider-color);
  padding-top: 0.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  text-align: right;
  opacity: 0.65;
  font-weight: 500;
}

.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: var(--global-divider-color);
  border-top: 1px solid var(--global-divider-color);
  padding-top: 1rem;
  margin-top: 2rem;
  margin-bottom: -2rem;
  text-align: right;
}
.publications h2.category {
  border-bottom: 1px solid var(--global-divider-color);
  padding-top: 0.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  opacity: 0.8;
  font-weight: 500;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  letter-spacing: 0.01em;
}
.publications h2.category:first-of-type {
  margin-top: 0;
}
.publications h2.category:not(:first-of-type) {
  margin-top: 2.5rem;
}
.publications ol.bibliography {
  list-style: none;
  padding: 0;
  margin-top: 0;
}
.publications ol.bibliography li {
  margin-bottom: 1rem;
}
.publications ol.bibliography li .preview,
.publications ol.bibliography li .abbr {
  width: 100%;
  min-width: 80px;
  max-width: 200px;
}
.publications ol.bibliography li .abbr {
  margin-bottom: 0.5rem;
}
.publications ol.bibliography li .abbr abbr {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  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: 500;
}
.publications ol.bibliography li .title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.publications ol.bibliography li .title a:hover {
  color: var(--global-theme-color);
}
.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 .author > span.more-authors {
  color: var(--global-text-color-light);
  border-bottom: 1px dashed var(--global-text-color-light);
  cursor: pointer;
}
.publications ol.bibliography li .author > span.more-authors:hover {
  color: var(--global-text-color);
  border-bottom: 1px dashed var(--global-text-color);
}
.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 .badges span {
  display: inline-block;
  color: #000000;
  height: 100%;
  padding-left: 0.5rem;
  vertical-align: middle;
}
.publications ol.bibliography li .badges span:hover {
  text-decoration: underline;
}
.publications ol.bibliography li .hidden {
  font-size: 0.875rem;
  max-height: 0px;
  overflow: hidden;
  text-align: justify;
  transition-property: 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;
  transition-property: 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 var(--global-bg-color);
}
.publications ol.bibliography li div.abstract.hidden.open {
  border-color: var(--global-text-color);
}

figure.highlight {
  margin: 0 0 1rem;
}

pre {
  color: var(--global-theme-color);
  background-color: var(--global-code-bg-color);
  border-radius: 6px;
  padding: 6px 12px;
}
pre pre,
pre code {
  background-color: transparent;
  border-radius: 0;
  margin-bottom: 0;
  padding: 0;
}

code {
  color: var(--global-theme-color);
  background-color: var(--global-code-bg-color);
  border-radius: 3px;
  padding: 3px 3px;
}

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

.post .post-meta {
  color: var(--global-text-color-light);
  font-size: 0.875rem;
  margin-bottom: 0;
}
.post .post-tags {
  color: var(--global-text-color-light);
  font-size: 0.875rem;
  padding-top: 0.25rem;
  padding-bottom: 1rem;
}
.post .post-tags a {
  color: var(--global-text-color-light);
  text-decoration: none;
}
.post .post-tags a:hover {
  color: var(--global-theme-color);
}
.post .post-content blockquote {
  border-left: 5px solid var(--global-theme-color);
  padding: 8px;
}

progress {
  /* Positioning */
  position: fixed;
  left: 0;
  top: 56px;
  z-index: 10;
  /* Dimensions */
  width: 100%;
  height: 1px;
  /* Reset the appearance */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  /* Get rid of the default border in Firefox/Opera. */
  border: none;
  /* Progress bar container for Firefox/IE10  */
  background-color: transparent;
  /* Progress bar value for IE10  */
  color: var(--global-theme-color);
}

progress::-webkit-progress-bar {
  background-color: transparent;
}

progress::-webkit-progress-value {
  background-color: var(--global-theme-color);
}

progress::-moz-progress-bar {
  background-color: var(--global-theme-color);
}

.progress-container {
  width: 100%;
  background-color: transparent;
  position: fixed;
  top: 56px;
  left: 0;
  height: 5px;
  display: block;
}

.progress-bar {
  background-color: var(--global-theme-color);
  width: 0%;
  display: block;
  height: inherit;
}

pre {
  padding: 8px 12px;
  position: relative;
  /* Copy code to clipboard button */
}
pre .copy {
  background: var(--global-card-bg-color);
  border-color: var(--global-bg-color);
  border-radius: 0.3rem;
  border-style: solid;
  color: var(--global-text-color);
  font-size: medium;
  opacity: 0;
  position: absolute;
  right: 0.25rem;
  top: 0.25rem;
}
pre .copy:active, pre .copy:focus, pre .copy:hover {
  color: var(--global-hover-color);
  opacity: 1;
}
pre:active .copy, pre:focus .copy, pre:hover .copy {
  color: var(--global-hover-color);
  opacity: 1;
}

/*******************************************************************************
 * Style overrides for distill blog posts.
 ******************************************************************************/
d-byline {
  border-top-color: var(--global-divider-color) !important;
}

d-byline h3 {
  color: var(--global-text-color) !important;
}

d-byline a, d-article d-byline a {
  color: var(--global-text-color) !important;
}
d-byline a:hover, d-article d-byline a:hover {
  color: var(--global-hover-color) !important;
}

d-article {
  border-top-color: var(--global-divider-color) !important;
}
d-article p, d-article h1, d-article h2, d-article h3, d-article h4, d-article h5, d-article h6, d-article li, d-article table {
  color: var(--global-text-color) !important;
}
d-article h1, d-article h2, d-article hr, d-article table, d-article table th, d-article table td {
  border-bottom-color: var(--global-divider-color) !important;
}
d-article a {
  color: var(--global-theme-color) !important;
}
d-article a:hover {
  color: var(--global-theme-color) !important;
}
d-article b i {
  display: inline;
}
d-article details {
  color: var(--global-text-color);
  background-color: var(--global-code-bg-color);
  margin-top: 0;
  padding: 8px 12px;
  position: relative;
  border-radius: 6px;
  display: block;
  margin-bottom: 20px;
  grid-column: text;
  overflow: auto;
  max-width: 100%;
}
d-article details summary {
  color: var(--global-theme-color);
}
d-article details p {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
d-article d-contents {
  align-self: start;
  grid-column: 1/4;
  grid-row: auto/span 4;
  justify-self: end;
  margin-top: 0em;
  padding-left: 2em;
  padding-right: 3em;
  border-right: 1px solid var(--global-divider-color);
  width: max(70%, 300px);
  margin-right: 0px;
  margin-top: 0em;
  display: grid;
  grid-template-columns: minmax(8px, 1fr) [toc] auto minmax(8px, 1fr) [toc-line] 1px minmax(32px, 2fr);
}
d-article d-contents nav {
  grid-column: toc;
}
d-article d-contents nav a {
  border-bottom: none !important;
}
d-article d-contents nav a:hover {
  border-bottom: 1px solid var(--global-text-color) !important;
}
d-article d-contents nav h3 {
  margin-top: 0;
  margin-bottom: 1em;
}
d-article d-contents nav div {
  display: block;
  outline: none;
  margin-bottom: 0.8em;
  color: rgba(0, 0, 0, 0.8);
  font-weight: bold;
}
d-article d-contents nav ul {
  padding-left: 1em;
  margin-top: 0;
  margin-bottom: 6px;
  list-style-type: none;
}
d-article d-contents nav ul li {
  margin-bottom: 0.25em;
}
d-article d-contents .figcaption {
  line-height: 1.4em;
}
d-article d-contents toc-line {
  border-right: 1px solid var(--global-divider-color);
  grid-column: toc-line;
}
d-article d-footnote {
  scroll-margin-top: 66px;
}

d-appendix {
  border-top-color: var(--global-divider-color) !important;
  color: var(--global-distill-app-color) !important;
}
d-appendix h3, d-appendix li, d-appendix span {
  color: var(--global-distill-app-color) !important;
}
d-appendix a, d-appendix a.footnote-backlink {
  color: var(--global-distill-app-color) !important;
}
d-appendix a:hover, d-appendix a.footnote-backlink:hover {
  color: var(--global-hover-color) !important;
}

@media (max-width: 1024px) {
  d-article d-contents {
    display: block;
    grid-column-start: 2;
    grid-column-end: -2;
    padding-bottom: 0.5em;
    margin-bottom: 1em;
    padding-top: 0.5em;
    width: 100%;
    border: 1px solid var(--global-divider-color);
  }
  d-article d-contents nav {
    grid-column: none;
  }
}
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.035);
}

::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.18);
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.28);
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.18) rgba(0, 0, 0, 0.035);
}

.back-link {
  font-size: 14px;
  text-decoration: none !important;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-bottom-color 0.15s ease;
}
.back-link:hover {
  color: var(--global-hover-color);
  border-bottom-color: var(--global-theme-color);
}

.project-detail-page-shell {
  position: relative;
}

@media (max-width: 991.98px) {
  .project-detail-toc {
    display: none !important;
  }
}
@media (min-width: 992px) {
  .project-detail-toc {
    display: block;
    position: fixed;
    top: 5.25rem;
    z-index: 5;
    left: calc((100vw + 800px) / 2 + 0.75rem);
    right: auto;
    width: min(13.75rem, max(5.5rem, calc((100vw - 800px) / 2 - 1.25rem)));
    max-height: calc(100vh - 6rem);
    overflow-x: visible;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media print {
  .project-detail-toc {
    display: none !important;
  }
}
.project-detail-toc__inner {
  padding: 0.25rem 0 1rem 1rem;
  border-left: 1px solid var(--global-divider-color);
}

.project-detail-toc__title {
  margin: 0 0 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--global-text-color-light);
}

.project-detail-toc__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-detail-toc__list li {
  margin: 0 0 0.5rem;
  line-height: 1.35;
}

.project-detail-toc__list a {
  display: block;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--global-text-color);
  text-decoration: none !important;
  border-left: 2px solid transparent;
  margin-left: -1rem;
  padding-left: calc(1rem - 2px);
  padding-top: 0.15rem;
  padding-bottom: 0.15rem;
  transition: color 0.15s ease, border-color 0.15s ease, font-weight 0.12s ease;
}

.project-detail-toc__list a:hover {
  color: var(--global-theme-color);
  border-left-color: var(--global-theme-color);
}

.project-detail-toc__list a.is-active {
  color: var(--global-theme-color);
  border-left-color: var(--global-theme-color);
  font-weight: 500;
}

.project-detail-toc__list a.is-active:hover {
  color: var(--global-theme-color);
  border-left-color: var(--global-theme-color);
}

.publications {
  margin-bottom: 2rem;
}
.publications ol.bibliography > li {
  margin-bottom: 1.35rem;
}
.publications .publication-entry--highlight {
  border-left: 3px solid #8c4720;
  background: rgba(140, 71, 32, 0.04);
  border-radius: 10px;
  overflow: hidden;
  padding: 1.5rem 1.75rem;
  box-sizing: border-box;
}
.publications ol.bibliography div.abstract.hidden,
.publications ol.bibliography div.abstract.hidden.open {
  border: none !important;
}
@media (min-width: 577px) {
  .publications.publications--aligned-cards .publication-entry:not(.publication-entry--highlight) {
    padding-left: calc(3px + 1.75rem);
    padding-right: 1.75rem;
    box-sizing: border-box;
  }
}

html[data-theme=dark] .publications .publication-entry--highlight {
  background: rgba(200, 158, 117, 0.12);
  border-left-color: #c89e75;
}

html[data-theme=dark] .publications h2.category {
  opacity: 0.9;
}

@media (max-width: 576px) {
  .publications.publications--aligned-cards .publication-entry--highlight {
    border: none !important;
    border-left: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }
  html[data-theme=dark] .publications.publications--aligned-cards .publication-entry--highlight {
    background: transparent !important;
    border-left-color: transparent !important;
  }
}
html[data-theme=dark] .projects .card {
  background-color: #1b1f26;
  border: 1px solid rgba(255, 255, 255, 0.045);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

html[data-theme=dark] .projects h2.category {
  color: var(--global-text-color-light);
  opacity: 0.32;
}

html[data-theme=dark] .projects .card-text,
html[data-theme=dark] .projects .card p {
  color: rgba(255, 255, 255, 0.62);
}

.projects .grid-item > a .card {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.projects .grid-item > a:hover .card {
  transform: translateY(-2px);
}

html[data-theme=dark] .projects .grid-item > a:hover .card {
  border-color: rgba(211, 171, 134, 0.22);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

html[data-theme=dark] .projects .grid-item .project-image-wrapper {
  background: #252a33;
}

.post.project-detail .post-header {
  margin-bottom: 1.5rem;
}
.post.project-detail .post-header .hero-description {
  font-size: 1.1rem;
  color: #111827;
  font-weight: 500;
  line-height: 1.6;
  margin-top: 16px;
  margin-bottom: 0;
  max-width: 650px;
  letter-spacing: 0.01em;
}
.post.project-detail .post-header .hero-subdescription {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.5;
  margin-top: 6px;
  margin-bottom: 0;
  max-width: 600px;
}
html[data-theme=dark] .post.project-detail .post-header .hero-description {
  color: var(--global-text-color);
}
html[data-theme=dark] .post.project-detail .post-header .hero-subdescription {
  color: var(--global-text-color-light);
}
.post.project-detail .project-detail__nav {
  margin-top: 1.1rem;
  margin-bottom: 1.6rem;
}
.post.project-detail article h2 {
  scroll-margin-top: 5.5rem;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 3.5rem;
  margin-bottom: 1rem;
  color: #8c4720;
  position: relative;
  letter-spacing: inherit;
}
.post.project-detail article h2::after {
  content: "";
  display: block;
  width: 2rem;
  height: 2px;
  margin-top: 0.45rem;
  background-color: rgba(140, 71, 32, 0.28);
}
html[data-theme=dark] .post.project-detail article h2 {
  color: var(--global-theme-color);
}
html[data-theme=dark] .post.project-detail article h2::after {
  background-color: var(--global-theme-color);
  opacity: 0.35;
}
.post.project-detail hr,
.post.project-detail > p + hr,
.post.project-detail > div.caption + p + hr {
  margin: 2.5rem 0 2.75rem;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
html[data-theme=dark] .post.project-detail hr {
  border-top-color: rgba(255, 255, 255, 0.1);
}
.post.project-detail article .highlight {
  margin: 1.15rem 0 1.5rem;
  padding-left: 0.9rem;
  border-left: 3px solid #8c4720;
  font-weight: 600;
  color: #111;
  line-height: 1.45;
}
html[data-theme=dark] .post.project-detail article .highlight {
  color: var(--global-text-color);
  border-left-color: var(--global-theme-color);
}
.post.project-detail .project-quote-strip {
  margin: 1.25rem 0 2.25rem;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--global-theme-color);
  background: rgba(165, 105, 63, 0.05);
  border-radius: 0 10px 10px 0;
}
.post.project-detail .project-quote-strip p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.8;
  font-style: italic;
  color: var(--global-text-color);
}
.post.project-detail .project-quote-strip p + p {
  margin-top: 1rem;
}
.post.project-detail article .caption,
.post.project-detail article figcaption.caption {
  margin-top: 0.75rem;
  margin-bottom: 2rem;
  font-size: 0.92rem;
  color: #777;
  text-align: center;
}
html[data-theme=dark] .post.project-detail article .caption, html[data-theme=dark] .post.project-detail article figcaption.caption {
  color: var(--global-text-color-light);
}
.post.project-detail article p,
.post.project-detail article li {
  line-height: 1.7;
}
.post.project-detail article ul {
  margin-top: 0.85rem;
  margin-bottom: 1.25rem;
  padding-left: 1.15rem;
}
.post.project-detail article li + li {
  margin-top: 0.35rem;
}
.post.project-detail article figure {
  margin: 32px 0;
}

html[data-theme=dark] .project-detail-toc__inner {
  border-left-color: rgba(255, 255, 255, 0.12);
}

html[data-theme=dark] .project-detail-toc__list a {
  color: rgba(255, 255, 255, 0.82);
}

html[data-theme=dark] .project-detail-toc__list a:hover,
html[data-theme=dark] .project-detail-toc__list a.is-active {
  color: var(--global-theme-color);
  border-left-color: var(--global-theme-color);
}

html[data-theme=dark] .post.project-detail .post-header .hero-subdescription {
  color: rgba(255, 255, 255, 0.68);
}

html[data-theme=dark] .post.project-detail article .caption,
html[data-theme=dark] .post.project-detail article figcaption.caption {
  color: rgba(255, 255, 255, 0.64);
}

html[data-theme=dark] .post.project-detail .project-quote-strip {
  background: rgba(200, 158, 117, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

html[data-theme=dark] .post.project-detail article figure img,
html[data-theme=dark] .post.project-detail article .row img {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

html[data-theme=dark] .post.project-detail hr {
  border-top-color: rgba(255, 255, 255, 0.08);
}

a.inline-link {
  color: var(--global-theme-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

a.inline-link:hover {
  text-decoration: underline !important;
}

.affiliation-link {
  color: var(--global-theme-color);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s ease;
}
.affiliation-link:hover {
  opacity: 0.7;
}

.section-link {
  color: var(--global-text-color);
  text-decoration: none !important;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.section-link:hover {
  color: var(--global-text-color);
  text-decoration: none;
  border-bottom-color: var(--global-theme-color);
}

.post.section-page .post-header,
.post.about-page .post-header {
  margin-bottom: 2.75rem;
}
.post.section-page .post-title,
.post.about-page .post-title {
  margin-bottom: 0.55rem;
  line-height: 1.02;
}
.post.section-page .post-description,
.post.section-page .desc,
.post.about-page .post-description,
.post.about-page .desc {
  margin-bottom: 0;
  color: var(--global-text-color-light);
  font-size: 0.95rem;
}

.post.about-page .post-title {
  font-size: 2.65rem;
}
.post.about-page .desc:has(.subtitle) {
  font-size: inherit;
  color: inherit;
}
.post.about-page {
  /* TITLE → SUBTITLE + SUBTITLE → HOOK: outer .desc carries vertical rhythm */
}
.post.about-page .post-header .desc {
  margin-top: 0.35rem;
  margin-bottom: 1.25rem;
}
.post.about-page .post-header .desc .subtitle {
  margin-top: 0;
  margin-bottom: 0;
}
.post.about-page .subtitle-primary {
  font-size: 1rem;
  font-weight: 600;
  color: var(--global-text-color);
  line-height: 1.35;
}
.post.about-page .subtitle-secondary {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--global-text-color);
  line-height: 1.35;
  opacity: 0.72;
  margin-top: 0.15rem;
}
html[data-theme=dark] .post.about-page .subtitle-secondary {
  opacity: 0.82;
}
.post.about-page .subtitle-link {
  color: var(--global-text-color);
  text-decoration: none !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
  transition: color 0.18s ease, border-bottom-color 0.18s ease;
}
.post.about-page .subtitle-link:hover,
.post.about-page .subtitle-link:focus {
  color: var(--global-theme-color);
  border-bottom-color: var(--global-theme-color);
}
.post.about-page {
  /* SUBTITLE → HOOK */
}
.post.about-page .bio p:first-of-type {
  font-size: 1.05rem;
  line-height: 1.65;
  margin-top: 0.4rem;
  margin-bottom: 1.35rem;
}
.post.about-page {
  /* BODY PARAGRAPH RHYTHM */
}
.post.about-page .bio p {
  margin-bottom: 1.15rem;
}
.post.about-page {
  /* FINAL SIGNATURE (philosophy) — second-to-last <p> when Contact is last */
}
.post.about-page .bio p:nth-last-of-type(2) {
  margin-top: 1.25rem;
}
.post.about-page {
  /* CONTACT LINE — last <p> in .bio */
}
.post.about-page .bio p:last-of-type {
  margin-top: 1.4rem;
}
.post.about-page {
  /* Profile column: contact under photo (see profile.address or profile_contact_obfuscated.html) */
}
.post.about-page .profile-contact {
  margin-top: 1.2rem;
}
.post.about-page .profile-contact-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--global-text-color);
  opacity: 0.75;
  line-height: 1.2;
  margin: 0 0 0.16rem 0;
}
html[data-theme=dark] .post.about-page .profile-contact-label {
  opacity: 0.82;
}
.post.about-page .profile-contact-email {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--global-theme-color);
  opacity: 0.95;
  text-decoration: none;
  margin: 0;
}
.post.about-page {
  /* Injected by profile_contact_obfuscated.html */
}
.post.about-page .profile-contact-email-link {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  opacity: inherit;
  text-decoration: none !important;
  border-bottom: none !important;
  transition: color 0.18s ease, opacity 0.18s ease, text-decoration-color 0.18s ease;
}
.post.about-page .profile-contact-email-link:hover,
.post.about-page .profile-contact-email-link:focus {
  color: var(--global-theme-color);
  opacity: 1;
  text-decoration: underline !important;
}

.post.teaching-page {
  max-width: 980px;
}
.post.teaching-page h2 {
  font-size: 2.15rem;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-top: 2.6rem;
  margin-bottom: 1.15rem;
  font-weight: 600;
  opacity: 1;
}
.post.teaching-page h2:first-of-type {
  margin-top: 0;
}
.post.teaching-page h3 {
  font-size: 1.55rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-top: 1.75rem;
  margin-bottom: 0.95rem;
  font-weight: 500;
  opacity: 1;
}
.post.teaching-page p {
  margin-bottom: 1.05rem;
  line-height: 1.58;
}
.post.teaching-page ul {
  margin-top: 0.65rem;
  margin-bottom: 1.2rem;
  padding-left: 1.45rem;
}
.post.teaching-page li {
  margin-bottom: 0.22rem;
  line-height: 1.5;
}
.post.teaching-page .teaching-approach-with-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 240px);
  grid-template-rows: auto auto;
  column-gap: 1.35rem;
  row-gap: 1.35rem;
  align-items: start;
  margin-bottom: 0;
  padding-bottom: 0;
}
.post.teaching-page .teaching-approach-with-media .teaching-approach-text {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}
.post.teaching-page .teaching-approach-with-media .teaching-approach-text p {
  margin-bottom: 0.65rem;
  line-height: 1.5;
}
.post.teaching-page .teaching-approach-with-media .teaching-approach-text p:first-child {
  margin-top: 0;
}
.post.teaching-page .teaching-approach-with-media .teaching-approach-text ul {
  margin-top: 0.35rem;
  margin-bottom: 1.05rem;
  padding-left: 1.25rem;
}
.post.teaching-page .teaching-approach-with-media .teaching-approach-text li {
  margin-bottom: 0.1rem;
  line-height: 1.45;
}
.post.teaching-page .teaching-approach-with-media .teaching-approach-figure {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: start;
  margin: 0;
  width: 100%;
  max-width: 231px;
}
.post.teaching-page .teaching-approach-with-media .teaching-approach-figure img {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
  max-height: min(360px, 48vh);
  margin-left: auto;
  object-fit: contain;
  object-position: top right;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}
.post.teaching-page .teaching-approach-with-media .teaching-approach-figure img:hover {
  transform: scale(1.02);
}
.post.teaching-page .teaching-approach-with-media .teaching-courses-in-poster-grid {
  grid-column: 1/-1;
  grid-row: 2;
  min-width: 0;
}
.post.teaching-page .teaching-approach-with-media .teaching-courses-in-poster-grid h2#courses-taught {
  margin-top: 0;
  margin-bottom: 1rem;
}
@media (max-width: 576px) {
  .post.teaching-page .teaching-approach-with-media {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    row-gap: 0;
  }
  .post.teaching-page .teaching-approach-with-media .teaching-approach-text {
    grid-column: 1;
    grid-row: auto;
    order: 1;
  }
  .post.teaching-page .teaching-approach-with-media .teaching-approach-figure {
    grid-column: 1;
    grid-row: auto;
    order: 2;
    justify-self: center;
    max-width: 240px;
    margin: 1rem auto 1rem;
  }
  .post.teaching-page .teaching-approach-with-media .teaching-approach-figure img {
    max-width: 240px;
    max-height: none;
    margin-left: auto;
    margin-right: auto;
    object-position: top center;
  }
  .post.teaching-page .teaching-approach-with-media .teaching-courses-in-poster-grid {
    grid-column: 1;
    grid-row: auto;
    order: 3;
  }
  .post.teaching-page .teaching-approach-with-media .teaching-courses-in-poster-grid h2#courses-taught {
    margin-top: 0.5rem;
  }
}
@media (max-width: 576px) {
  .post.teaching-page h2#approach {
    margin-bottom: 1.35rem;
  }
}
.post.teaching-page .teaching-approach-caption {
  font-size: 0.85rem;
  color: var(--global-text-color-light);
  margin-top: 0.5rem;
  line-height: 1.35;
  text-align: center;
}
html[data-theme=dark] .post.teaching-page .teaching-approach-figure img {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.42);
}
.post.teaching-page .teaching-course {
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
}
.post.teaching-page .teaching-course:not(:last-of-type) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.post.teaching-page .teaching-course:last-child {
  margin-bottom: 0;
}
.post.teaching-page .teaching-course-title {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
  margin-bottom: 0.18rem;
  word-break: normal;
  overflow-wrap: normal;
  color: var(--global-text-color);
}
.post.teaching-page .teaching-course-title a {
  color: var(--global-text-color);
  text-decoration: none !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  transition: color 0.18s ease, border-bottom-color 0.18s ease, text-decoration-color 0.18s ease;
  font-weight: 700;
}
.post.teaching-page .teaching-course-title a:hover {
  color: var(--global-theme-color);
  border-bottom-color: var(--global-theme-color);
}
.post.teaching-page .teaching-course-title a strong {
  font-weight: inherit;
}
.post.teaching-page .teaching-course-title .course-code {
  display: inline;
  white-space: nowrap;
  font-weight: 400;
  color: var(--global-text-color-light);
  margin-left: 0.25rem;
}
.post.teaching-page .teaching-course-meta {
  font-size: 0.96rem;
  line-height: 1.34;
  color: var(--global-text-color-light);
  opacity: 0.7;
  font-weight: 400;
  margin-bottom: 0.04rem;
}
.post.teaching-page .teaching-course-meta:last-child {
  margin-bottom: 0;
}
.post.teaching-page .teaching-course-signal {
  font-size: 0.92rem;
  line-height: 1.3;
  color: var(--global-text-color-light);
  opacity: 0.85;
  font-weight: 400;
  font-style: italic;
  margin-top: 0.08rem;
}
.post.teaching-page h2 + p + p + ul,
.post.teaching-page h2 + ul {
  margin-top: 0.5rem;
}
.post.teaching-page p > strong:only-child {
  font-weight: 600;
  display: block;
  margin-bottom: 0.25rem;
}
.post.teaching-page .research-advisor {
  display: block;
  font-size: 0.9rem;
  line-height: 1.34;
  color: var(--global-text-color);
  opacity: 0.68;
  margin-top: 0.18rem;
}
.post.teaching-page .research-advisor a.inline-link {
  font-weight: 500;
  opacity: 1;
  color: var(--global-theme-color);
}
.post.teaching-page .research-link,
.post.teaching-page .research-link:visited {
  color: var(--global-text-color);
  text-decoration: none !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  transition: color 0.18s ease, border-bottom-color 0.18s ease;
}
.post.teaching-page .research-link strong,
.post.teaching-page .research-link:visited strong {
  color: var(--global-text-color);
  font-weight: 500;
  transition: color 0.18s ease;
}
.post.teaching-page .research-link:hover,
.post.teaching-page .research-link:focus {
  color: var(--global-theme-color);
  border-bottom-color: var(--global-theme-color);
}
.post.teaching-page .research-link:hover strong,
.post.teaching-page .research-link:focus strong {
  color: var(--global-theme-color);
}
.post.teaching-page a.inline-link {
  color: var(--global-theme-color);
  text-decoration: none;
  transition: color 0.18s ease, text-decoration-color 0.18s ease;
}
.post.teaching-page a.inline-link:hover {
  text-decoration: underline;
}
.post.teaching-page p[markdown="1"] {
  margin-bottom: 0.95rem;
}
.post.teaching-page a {
  transition: all 0.18s ease;
}
@media (max-width: 768px) {
  .post.teaching-page {
    max-width: 100%;
  }
  .post.teaching-page h2 {
    font-size: 1.95rem;
    margin-top: 2.5rem;
  }
  .post.teaching-page h3 {
    font-size: 1.4rem;
    margin-top: 1.5rem;
  }
  .post.teaching-page .teaching-course {
    margin-bottom: 1.35rem;
    padding-bottom: 0.5rem;
  }
  .post.teaching-page .teaching-course-title {
    font-size: 1rem;
  }
  .post.teaching-page .teaching-course-meta {
    font-size: 0.95rem;
  }
}

html[data-theme=dark] .post.teaching-page .teaching-course:not(:last-of-type) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
html[data-theme=dark] .post.teaching-page .teaching-course-meta {
  opacity: 0.78;
}
html[data-theme=dark] .post.teaching-page .teaching-course-signal {
  opacity: 0.9;
}

.cv .card {
  border-radius: 0px;
  box-shadow: none;
  border: none;
}

.cv .card .list-group-flush .list-group-item {
  border-color: rgba(0, 0, 0, 0.06);
}

html[data-theme=dark] .cv .card .list-group-flush .list-group-item {
  border-color: rgba(255, 255, 255, 0.08);
}

.cv article .resume-panel {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 180ms cubic-bezier(0.4, 0, 0.2, 1), transform 180ms cubic-bezier(0.4, 0, 0.2, 1);
}

.cv article .resume-panel.resume-panel--exit {
  opacity: 0;
  transform: translateY(2px);
  pointer-events: none;
}

.cv article .resume-panel.resume-panel--enter {
  opacity: 0;
  transform: translateY(2px);
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  .cv article .resume-panel {
    transition: none;
  }
  .cv article .resume-panel.resume-panel--enter {
    transition: none;
  }
}
.cv .cv-resume-switch-group--busy {
  pointer-events: none;
}

html[data-theme=dark] .cv .card {
  background-color: var(--global-bg-color);
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}

html[data-theme=dark] .cv .cv-toc.on-this-page {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cv .cv-header-row--resume {
  width: 100%;
  row-gap: 0.75rem;
  column-gap: 2rem;
}

.cv .cv-header-title {
  flex: 0 1 auto;
  min-width: 0;
}

.cv .cv-header-right-controls {
  flex: 0 1 auto;
  margin-left: auto;
  justify-content: flex-end;
  align-items: baseline;
  column-gap: 0.65rem;
  row-gap: 0.5rem;
  max-width: 100%;
}

.cv .cv-resume-switch-group {
  flex-wrap: nowrap;
  gap: 0.5rem;
  width: max-content;
  max-width: 100%;
}

.cv .cv-resume-switch-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--global-text-color-light);
  white-space: nowrap;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.cv .cv-resume-switch-group:has(#cvResumeModeSwitch:not(:checked)) #cv-label-industry {
  color: var(--global-text-color);
  opacity: 1;
}
.cv .cv-resume-switch-group:has(#cvResumeModeSwitch:not(:checked)) #cv-label-academic {
  opacity: 0.5;
}

.cv .cv-resume-switch-group:has(#cvResumeModeSwitch:checked) #cv-label-industry {
  opacity: 0.5;
}
.cv .cv-resume-switch-group:has(#cvResumeModeSwitch:checked) #cv-label-academic {
  color: var(--global-text-color);
  opacity: 1;
}

.cv .cv-resume-switch-group .cv-resume-switch-control.custom-switch {
  flex: 0 0 auto;
  display: inline-block;
  width: fit-content;
  max-width: fit-content;
  vertical-align: middle;
  padding-right: 0;
  --rs-track-h: calc(1rem - 3px);
  --rs-knob-h: calc((1rem - 4px) * 0.8125);
  --rs-track-w: calc(1.75rem * 0.8125);
  padding-left: calc(2.25rem * 0.8125);
  min-height: calc(1.5rem - 4px);
}
.cv .cv-resume-switch-group .cv-resume-switch-control.custom-switch .custom-control-label::before {
  top: 0.25rem;
  left: calc(-2.25rem * 0.8125);
  width: var(--rs-track-w);
  height: var(--rs-track-h);
  border-radius: 0.5rem;
}
.cv .cv-resume-switch-group .cv-resume-switch-control.custom-switch .custom-control-label::after {
  top: calc(0.25rem + (var(--rs-track-h) - var(--rs-knob-h)) / 2);
  left: calc(-2.25rem * 0.8125 + 2px);
  width: var(--rs-knob-h);
  height: var(--rs-knob-h);
  border-radius: 0.5rem;
}
.cv .cv-resume-switch-group .cv-resume-switch-control.custom-switch .custom-control-input:checked ~ .custom-control-label::after {
  transform: translateX(calc(0.75rem * 0.8125));
}
.cv .cv-resume-switch-group .cv-resume-switch-control.custom-switch .custom-control-input:checked ~ .custom-control-label::before {
  background-color: #8c4720;
  border-color: #8c4720;
}
.cv .cv-resume-switch-group .cv-resume-switch-control.custom-switch .custom-control-input:focus ~ .custom-control-label::before {
  border-color: rgba(200, 158, 117, 0.65);
  box-shadow: 0 0 0 2px rgba(200, 158, 117, 0.55), 0 0 0 5px rgba(200, 158, 117, 0.18);
}
.cv .cv-resume-switch-group .cv-resume-switch-control.custom-switch .custom-control-input:checked:focus ~ .custom-control-label::before {
  background-color: #8c4720;
  border-color: #8c4720;
  box-shadow: 0 0 0 2px rgba(200, 158, 117, 0.55), 0 0 0 5px rgba(200, 158, 117, 0.18);
}

.cv .cv-resume-switch-input-label {
  margin-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  cursor: pointer;
}

.cv .cv-resume-switch-custom-wrap {
  flex: 0 0 auto;
  display: inline-block;
  width: fit-content;
  max-width: fit-content;
  vertical-align: middle;
}

.cv .cv-resume-switch-custom {
  --cv-rs-track-h: calc(1rem - 3px);
  --cv-rs-knob-h: calc((1rem - 4px) * 0.8125);
  --cv-rs-track-w: calc(1.75rem * 0.8125);
  --cv-rs-travel: calc(var(--cv-rs-track-w) - var(--cv-rs-knob-h) - 4px);
  position: relative;
  line-height: 0;
  border-radius: 0.55rem;
}

.cv .cv-resume-switch-custom-input:focus {
  outline: none;
}

.cv .cv-resume-switch-custom-ui {
  display: inline-block;
  cursor: pointer;
  margin: 0;
  vertical-align: middle;
}

.cv .cv-resume-switch-custom-track {
  position: relative;
  display: block;
  width: var(--cv-rs-track-w);
  height: var(--cv-rs-track-h);
  border-radius: 0.5rem;
  border: 1px solid #adb5bd;
  background-color: #fff;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.cv .cv-resume-switch-custom-thumb {
  position: absolute;
  left: 2px;
  top: 50%;
  width: var(--cv-rs-knob-h);
  height: var(--cv-rs-knob-h);
  border-radius: 50%;
  background-color: #adb5bd;
  transform: translateY(-50%);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.cv .cv-resume-switch-custom-input:checked + .cv-resume-switch-custom-ui .cv-resume-switch-custom-track {
  background-color: #8c4720;
  border-color: #8c4720;
}

.cv .cv-resume-switch-custom-input:checked + .cv-resume-switch-custom-ui .cv-resume-switch-custom-thumb {
  background-color: #fff;
  transform: translateY(-50%) translateX(var(--cv-rs-travel));
}

.cv .cv-resume-switch-custom:focus-within .cv-resume-switch-custom-track {
  border-color: rgba(200, 158, 117, 0.65);
  box-shadow: 0 0 0 2px rgba(200, 158, 117, 0.55), 0 0 0 5px rgba(200, 158, 117, 0.18);
}

.cv .cv-resume-switch-custom:has(#cvResumeModeSwitch:checked):focus-within .cv-resume-switch-custom-track {
  border-color: #8c4720;
  box-shadow: 0 0 0 2px rgba(200, 158, 117, 0.55), 0 0 0 5px rgba(200, 158, 117, 0.18);
}

html[data-theme=dark] .cv .cv-resume-switch-custom-track {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
}

html[data-theme=dark] .cv .cv-resume-switch-custom-input:checked + .cv-resume-switch-custom-ui .cv-resume-switch-custom-track {
  background-color: #8c4720;
  border-color: #8c4720;
}

@media (prefers-reduced-motion: reduce) {
  .cv .cv-resume-switch-custom-track,
  .cv .cv-resume-switch-custom-thumb {
    transition: none;
  }
}
.cv .cv-pdf-actions--with-toggle {
  margin-left: 0.15rem;
}

@media (max-width: 576px) {
  .cv .cv-header-row--resume {
    flex-direction: column;
    align-items: flex-start !important;
  }
  .cv .cv-header-right-controls {
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
  }
}
.cv a,
.cv button,
.cv .btn {
  transition: all 0.2s ease;
}

.cv a {
  text-decoration: none;
}

.cv a:hover {
  text-decoration: underline;
}

.pub-venue {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--global-theme-color);
  opacity: 0.9;
}

html[data-theme=dark] .cv .pub-venue {
  opacity: 0.82;
}

.cv .card.publications .item > ul.items {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
}

.cv .card.publications .item > ul.items > li {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.cv .card.publications .list-group-item > .row {
  align-items: flex-start;
}

.cv .item {
  max-width: 720px;
}

.cv .item ul.items li strong {
  font-weight: 600;
}

.cv .highlight-role {
  border-left: 3px solid var(--global-theme-color);
  padding-left: 12px;
}

.cv .education-item:not(:first-child) {
  opacity: 0.85;
}

.cv .card h3.card-title {
  font-weight: 500;
}

.cv .card .cv-skills-main .item.cv-skills-item {
  max-width: none;
}

.cv .card .skills-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 2.75rem;
  row-gap: 1.75rem;
}
@media (max-width: 768px) {
  .cv .card .skills-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 1.5rem;
  }
}

.cv .card .skills-grid.cv-skills-grid--align-badge-column {
  margin-left: calc(-1 * 75px);
  width: calc(100% + 75px);
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .cv .card .skills-grid.cv-skills-grid--align-badge-column {
    margin-left: 0;
    width: 100%;
    max-width: 100%;
  }
}

.cv .card .cv-skills-list-group > .cv-skills-list-item {
  margin-bottom: 0;
}

.cv .card .skill-block {
  display: flex;
  flex-direction: column;
  align-self: start;
}

.cv .card .skill-block h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #111;
  line-height: 1.28;
  margin: 0 0 0.58rem 0;
}

.cv .card .skill-block ul {
  margin: 0;
  padding-left: 0;
  list-style-type: circle;
  list-style-position: inside;
}

.cv .card .skill-block li {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 0.34rem;
}

.cv .card .skill-block li:last-child {
  margin-bottom: 0;
}

.cv .card .skill-block li::marker {
  color: #b8b8b8;
}

html[data-theme=dark] .cv .card .skill-block h4 {
  color: var(--global-text-color);
}

html[data-theme=dark] .cv .card .skill-block li {
  color: var(--global-text-color);
}

html[data-theme=dark] .cv .card .skill-block li::marker {
  color: rgba(255, 255, 255, 0.32);
}

.cv .card h6 {
  font-weight: 500;
}

.cv .card li {
  color: var(--global-text-color-light);
}

.cv .card ul li {
  margin-bottom: 0.5rem;
}

.cv .card ul {
  margin-top: 0.5rem;
}

.cv .cv-header-links {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.cv .publications a:hover {
  color: #111;
}

html[data-theme=dark] .cv .publications a:hover {
  color: var(--global-text-color);
}

.cv .card li strong {
  color: var(--global-text-color);
  font-weight: 500;
}

.cv .cv-section-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.cv .cv-section-footer a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  letter-spacing: 0.01em;
  font-weight: 500;
  color: var(--global-theme-color);
}

.cv .cv-section-footer a.view-all {
  transition: transform 0.15s ease;
}

.cv .cv-section-footer a:hover {
  opacity: 0.85;
}

.cv .cv-section-footer a.view-all:hover {
  transform: translateX(1px);
}

#back-to-top {
  position: fixed;
  bottom: 72px;
  right: 40px;
  z-index: 1050;
  width: 42px;
  height: 42px;
  background-color: #8c4720;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  user-select: none;
}
#back-to-top.show {
  opacity: 0.85;
  visibility: visible;
  pointer-events: auto;
}
#back-to-top:hover {
  opacity: 1;
  transform: translateY(-2px);
}

html[data-theme=dark] footer {
  background-color: #111111;
  border-top: 1px solid #b8875c !important;
  color: #8a8a8a;
  text-align: center;
  padding-top: 12px;
  padding-bottom: 12px;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
}
html[data-theme=dark] footer .container {
  color: #8a8a8a;
  padding-top: 0;
  padding-bottom: 0;
}
html[data-theme=dark] footer p {
  margin: 0;
  color: #8a8a8a;
  font-weight: 400;
}
html[data-theme=dark] footer strong,
html[data-theme=dark] footer .name {
  color: #b5b5b5;
  font-weight: 500;
}
html[data-theme=dark] footer a {
  color: #b8875c;
}
html[data-theme=dark] footer a:hover {
  color: var(--global-hover-color);
  text-decoration: none;
}

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