@charset "UTF-8";
/**
 * Reset some basic elements
 */
body, h1, h2, h3, h4, h5, h6,
p, blockquote, pre, hr,
dl, dd, ol, ul, figure {
  margin: 0;
  padding: 0;
}

/**
 * Basic styling
 */
body {
  font: 400 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: #111;
  background-color: #fdfdfd;
  -webkit-text-size-adjust: 100%;
  -webkit-font-feature-settings: "kern" 1;
  -moz-font-feature-settings: "kern" 1;
  -o-font-feature-settings: "kern" 1;
  font-feature-settings: "kern" 1;
  font-kerning: normal;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

/**
 * Set `margin-bottom` to maintain vertical rhythm
 */
h1, h2, h3, h4, h5, h6,
p, blockquote, pre,
ul, ol, dl, figure,
.highlight {
  margin-bottom: 15px;
}

/**
 * `main` element
 */
main {
  display: block; /* Default value of `display` of `main` element is 'inline' in IE 11. */
}

/**
 * Images
 */
img {
  max-width: 100%;
  vertical-align: middle;
}

/**
 * Figures
 */
figure > img {
  display: block;
}

figcaption {
  font-size: 14px;
}

/**
 * Lists
 */
ul, ol {
  margin-left: 30px;
}

li > ul,
li > ol {
  margin-bottom: 0;
}

/**
 * Headings
 */
h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
}

/**
 * Links
 */
a {
  color: #2a7ae2;
  text-decoration: none;
}
a:visited {
  color: rgb(22.9483471074, 86.2541322314, 168.5516528926);
}
a:hover {
  color: #111;
  text-decoration: underline;
}
.social-media-list a:hover {
  text-decoration: none;
}
.social-media-list a:hover .username {
  text-decoration: underline;
}

/**
 * Blockquotes
 */
blockquote {
  color: #828282;
  border-left: 4px solid #e8e8e8;
  padding-left: 15px;
  font-size: 18px;
  letter-spacing: -1px;
  font-style: italic;
}
blockquote > :last-child {
  margin-bottom: 0;
}

/**
 * Code formatting
 */
pre,
code {
  font-size: 15px;
  border: 1px solid #e8e8e8;
  border-radius: 3px;
  background-color: #eef;
}

code {
  padding: 1px 5px;
}

pre {
  padding: 8px 12px;
  overflow-x: auto;
}
pre > code {
  border: 0;
  padding-right: 0;
  padding-left: 0;
}

/**
 * Wrapper
 */
.wrapper {
  max-width: -webkit-calc(1040px - (30px * 2));
  max-width: calc(1040px - 30px * 2);
  margin-right: auto;
  margin-left: auto;
  padding-right: 30px;
  padding-left: 30px;
}
@media screen and (max-width: 800px) {
  .wrapper {
    max-width: -webkit-calc(1040px - (30px));
    max-width: calc(1040px - (30px));
    padding-right: 15px;
    padding-left: 15px;
  }
}

/**
 * Clearfix
 */
.footer-col-wrapper:after, .wrapper:after {
  content: "";
  display: table;
  clear: both;
}

/**
 * Icons
 */
.svg-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  fill: #828282;
  padding-right: 5px;
  vertical-align: text-top;
}

.social-media-list li + li {
  padding-top: 5px;
}

/**
 * Tables
 */
table {
  margin-bottom: 30px;
  width: 100%;
  text-align: left;
  color: rgb(62.9, 62.9, 62.9);
  border-collapse: collapse;
  border: 1px solid #e8e8e8;
}
table tr:nth-child(even) {
  background-color: rgb(247.3, 247.3, 247.3);
}
table th, table td {
  padding: 9.999999999px 15px;
}
table th {
  background-color: rgb(239.65, 239.65, 239.65);
  border: 1px solid rgb(221.8, 221.8, 221.8);
  border-bottom-color: rgb(201.4, 201.4, 201.4);
}
table td {
  border: 1px solid #e8e8e8;
}

/**
 * Site header
 */
.site-header {
  border-top: 5px solid rgb(66.25, 66.25, 66.25);
  border-bottom: 1px solid #e8e8e8;
  min-height: 55.95px;
  position: relative;
}

.site-title {
  font-size: 26px;
  font-weight: 300;
  line-height: 54px;
  letter-spacing: -1px;
  margin-bottom: 0;
  float: left;
}
.site-title, .site-title:visited {
  color: rgb(66.25, 66.25, 66.25);
}

.site-nav {
  float: right;
  line-height: 54px;
}
.site-nav .nav-trigger {
  display: none;
}
.site-nav .menu-icon {
  display: none;
}
.site-nav .page-link {
  color: #111;
  line-height: 1.5;
}
.site-nav .page-link:not(:last-child) {
  margin-right: 20px;
}
@media screen and (max-width: 600px) {
  .site-nav {
    position: absolute;
    top: 9px;
    right: 15px;
    background-color: #fdfdfd;
    border: 1px solid #e8e8e8;
    border-radius: 5px;
    text-align: right;
  }
  .site-nav label[for=nav-trigger] {
    display: block;
    float: right;
    width: 36px;
    height: 36px;
    z-index: 2;
    cursor: pointer;
  }
  .site-nav .menu-icon {
    display: block;
    float: right;
    width: 36px;
    height: 26px;
    line-height: 0;
    padding-top: 10px;
    text-align: center;
  }
  .site-nav .menu-icon > svg {
    fill: rgb(66.25, 66.25, 66.25);
  }
  .site-nav input ~ .trigger {
    clear: both;
    display: none;
  }
  .site-nav input:checked ~ .trigger {
    display: block;
    padding-bottom: 5px;
  }
  .site-nav .page-link {
    display: block;
    margin-left: 20px;
    padding: 5px 10px;
  }
  .site-nav .page-link:not(:last-child) {
    margin-right: 0;
  }
}

/**
 * Site footer
 */
.site-footer {
  border-top: 1px solid #e8e8e8;
  padding: 30px 0;
}

.footer-heading {
  font-size: 18px;
  margin-bottom: 15px;
}

.contact-list,
.social-media-list {
  list-style: none;
  margin-left: 0;
}

.footer-col-wrapper {
  font-size: 15px;
  color: #828282;
  margin-left: -15px;
}

.footer-col {
  float: left;
  margin-bottom: 15px;
  padding-left: 15px;
}

.footer-col-1 {
  width: -webkit-calc(35% - (30px / 2));
  width: calc(35% - 30px / 2);
}

.footer-col-2 {
  width: -webkit-calc(20% - (30px / 2));
  width: calc(20% - 30px / 2);
}

.footer-col-3 {
  width: -webkit-calc(45% - (30px / 2));
  width: calc(45% - 30px / 2);
}

@media screen and (max-width: 800px) {
  .footer-col-1,
  .footer-col-2 {
    width: -webkit-calc(50% - (30px / 2));
    width: calc(50% - 30px / 2);
  }
  .footer-col-3 {
    width: -webkit-calc(100% - (30px / 2));
    width: calc(100% - 30px / 2);
  }
}
@media screen and (max-width: 600px) {
  .footer-col {
    float: none;
    width: -webkit-calc(100% - (30px / 2));
    width: calc(100% - 30px / 2);
  }
}
/**
 * Page content
 */
.page-content {
  padding: 30px 0;
  flex: 1;
}

.page-heading {
  font-size: 32px;
}

.post-list-heading {
  font-size: 28px;
}

.post-list {
  margin-left: 0;
  list-style: none;
}
.post-list > li {
  margin-bottom: 30px;
}

.post-meta {
  font-size: 14px;
  color: #828282;
}

.post-link {
  display: block;
  font-size: 24px;
}

/**
 * Posts
 */
.post-header {
  margin-bottom: 30px;
}

.post-title {
  font-size: 42px;
  letter-spacing: -1px;
  line-height: 1;
}
@media screen and (max-width: 800px) {
  .post-title {
    font-size: 36px;
  }
}

.post-content {
  margin-bottom: 30px;
}
.post-content h2 {
  font-size: 32px;
}
@media screen and (max-width: 800px) {
  .post-content h2 {
    font-size: 28px;
  }
}
.post-content h3 {
  font-size: 26px;
}
@media screen and (max-width: 800px) {
  .post-content h3 {
    font-size: 22px;
  }
}
.post-content h4 {
  font-size: 20px;
}
@media screen and (max-width: 800px) {
  .post-content h4 {
    font-size: 18px;
  }
}

/**
 * Syntax highlighting styles
 */
.highlight {
  background: #fff;
}
.highlighter-rouge .highlight {
  background: #eef;
}
.highlight .c {
  color: #998;
  font-style: italic;
}
.highlight .err {
  color: #a61717;
  background-color: #e3d2d2;
}
.highlight .k {
  font-weight: bold;
}
.highlight .o {
  font-weight: bold;
}
.highlight .cm {
  color: #998;
  font-style: italic;
}
.highlight .cp {
  color: #999;
  font-weight: bold;
}
.highlight .c1 {
  color: #998;
  font-style: italic;
}
.highlight .cs {
  color: #999;
  font-weight: bold;
  font-style: italic;
}
.highlight .gd {
  color: #000;
  background-color: #fdd;
}
.highlight .gd .x {
  color: #000;
  background-color: #faa;
}
.highlight .ge {
  font-style: italic;
}
.highlight .gr {
  color: #a00;
}
.highlight .gh {
  color: #999;
}
.highlight .gi {
  color: #000;
  background-color: #dfd;
}
.highlight .gi .x {
  color: #000;
  background-color: #afa;
}
.highlight .go {
  color: #888;
}
.highlight .gp {
  color: #555;
}
.highlight .gs {
  font-weight: bold;
}
.highlight .gu {
  color: #aaa;
}
.highlight .gt {
  color: #a00;
}
.highlight .kc {
  font-weight: bold;
}
.highlight .kd {
  font-weight: bold;
}
.highlight .kp {
  font-weight: bold;
}
.highlight .kr {
  font-weight: bold;
}
.highlight .kt {
  color: #458;
  font-weight: bold;
}
.highlight .m {
  color: #099;
}
.highlight .s {
  color: #d14;
}
.highlight .na {
  color: #008080;
}
.highlight .nb {
  color: #0086B3;
}
.highlight .nc {
  color: #458;
  font-weight: bold;
}
.highlight .no {
  color: #008080;
}
.highlight .ni {
  color: #800080;
}
.highlight .ne {
  color: #900;
  font-weight: bold;
}
.highlight .nf {
  color: #900;
  font-weight: bold;
}
.highlight .nn {
  color: #555;
}
.highlight .nt {
  color: #000080;
}
.highlight .nv {
  color: #008080;
}
.highlight .ow {
  font-weight: bold;
}
.highlight .w {
  color: #bbb;
}
.highlight .mf {
  color: #099;
}
.highlight .mh {
  color: #099;
}
.highlight .mi {
  color: #099;
}
.highlight .mo {
  color: #099;
}
.highlight .sb {
  color: #d14;
}
.highlight .sc {
  color: #d14;
}
.highlight .sd {
  color: #d14;
}
.highlight .s2 {
  color: #d14;
}
.highlight .se {
  color: #d14;
}
.highlight .sh {
  color: #d14;
}
.highlight .si {
  color: #d14;
}
.highlight .sx {
  color: #d14;
}
.highlight .sr {
  color: #009926;
}
.highlight .s1 {
  color: #d14;
}
.highlight .ss {
  color: #990073;
}
.highlight .bp {
  color: #999;
}
.highlight .vc {
  color: #008080;
}
.highlight .vg {
  color: #008080;
}
.highlight .vi {
  color: #008080;
}
.highlight .il {
  color: #099;
}

/* Custom styles for academic website */
/* Global styles */
body {
  font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Merriweather", Georgia, serif;
  font-weight: 700;
  margin-top: 1.5em;
}

a {
  color: #0366d6;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  color: #0056b3;
}

/* Custom footer styles */
.grey-text {
  color: #777;
  font-size: 14px;
  text-align: center;
}

.site-footer {
  border-top: 1px solid #e8e8e8;
  padding: 20px 0;
}

/* Recent News section */
.compact-news {
  display: flex;
  flex-direction: column;
  gap: 0.7em;
  margin: 1em 0 1.75em;
}

.news-item {
  display: grid;
  grid-template-columns: 5.75rem 1fr;
  column-gap: 0.55rem;
  align-items: start;
}

.news-date {
  color: #8a8a8a;
  font-size: 0.95rem;
  line-height: 1.6;
  white-space: nowrap;
}

.news-text {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #222;
}
.news-text p {
  margin: 0;
  display: inline;
}

@media screen and (max-width: 500px) {
  .news-item {
    grid-template-columns: 1fr;
    row-gap: 0.15rem;
  }
}
/* Profile container for homepage */
.profile-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  margin-bottom: 2em;
  gap: 2em;
  justify-content: space-between;
}

.profile-image {
  flex: 0 0 auto;
  width: 250px;
  order: 2; /* Ensures image stays on the right */
}

.profile-pic {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.profile-bio {
  flex: 1 1 auto;
  order: 1; /* Ensures bio stays on the left */
}

.profile-bio h1 {
  margin-top: 0;
}

.clearfix {
  clear: both;
  height: 1px;
}

/* Responsive profile layout */
@media screen and (max-width: 768px) {
  .profile-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .profile-image {
    margin-bottom: 0; /* Remove bottom margin since image will be below */
    margin-top: 1.5em; /* Add top margin since image will be below */
    order: 2; /* Keep the image below on mobile */
  }
  .profile-bio {
    order: 1; /* Keep the bio above on mobile */
  }
}
/* Header and navigation */
.site-header {
  border-top: 5px solid #424242;
  border-bottom: 1px solid #e8e8e8;
  min-height: 55.95px;
  background-color: #f8f9fa;
}

.site-title {
  font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;
  font-weight: 600;
  letter-spacing: normal;
  margin-right: 20px;
}
.site-title:hover {
  text-decoration: underline;
  color: #0056b3;
}

.site-nav .page-link {
  font-weight: 600;
  margin-right: 20px;
}

/* Home page */
.home-header {
  text-align: center;
  margin-bottom: 2em;
}
.home-header img {
  border-radius: 50%;
  max-width: 200px;
  margin-bottom: 1em;
}
.home-header h1 {
  margin-bottom: 0.2em;
}
.home-header .subtitle {
  font-size: 1.2em;
  color: #666;
  margin-bottom: 1em;
}

/* Publications */
.publication {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #eee;
}
.publication .title {
  font-weight: 700;
}
.publication .authors {
  font-style: italic;
}
.publication .venue {
  color: #666;
}
.publication .links {
  margin-top: 0.5em;
}
.publication .links a {
  margin-right: 1em;
  font-size: 0.9em;
}

/* Research overview — publication-style list */
.research-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.75em;
  margin-bottom: 0;
  padding-bottom: 0.5em;
  border-bottom: 1px solid #e6e6e6;
}
.research-section-header h2 {
  margin: 0;
}
.research-section-header .research-section-note {
  color: #8a8a8a;
  font-size: 0.92rem;
  font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-style: italic;
  white-space: nowrap;
}

.research-projects .research-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 1.15rem 0;
  border-bottom: 1px solid #ececec;
}
.research-projects .research-thumb {
  flex: 0 0 280px;
  width: 280px;
  aspect-ratio: 16/10;
  box-sizing: border-box;
  padding: 12px;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  background: #f5f6f8;
  overflow: hidden;
}
.research-projects .research-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.research-projects .research-body {
  flex: 1 1 auto;
  min-width: 0;
}
.research-projects .research-venue {
  margin: 0 0 0.2em;
  color: #2563eb;
  font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.research-projects .research-highlight {
  color: #c2410c;
  font-weight: 700;
}
.research-projects .research-title {
  margin: 0 0 0.3em;
  font-size: 1.08rem;
  line-height: 1.35;
}
.research-projects .research-title a {
  color: #1a1a1a;
}
.research-projects .research-title a:hover {
  color: #0366d6;
  text-decoration: none;
}
.research-projects .research-authors {
  margin: 0 0 0.45em;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #333;
}
.research-projects .research-links {
  margin: 0;
  font-size: 0.9rem;
}
.research-projects .research-links a {
  margin-right: 0.9em;
}
.research-projects .research-links a:hover {
  text-decoration: underline;
}

.research-view-all {
  margin-top: 1.1em;
}

@media screen and (max-width: 700px) {
  .research-section-header {
    flex-wrap: wrap;
  }
  .research-projects .research-item {
    flex-direction: column;
    gap: 0.85rem;
  }
  .research-projects .research-thumb {
    flex-basis: auto;
    width: 100%;
    max-width: 360px;
  }
}
/* Projects */
.project,
.project-page {
  margin-bottom: 3em;
}
.project .project-image,
.project .project-page-image,
.project-page .project-image,
.project-page .project-page-image {
  max-width: 100%;
  height: auto;
  margin-bottom: 1em;
  border-radius: 4px;
}
.project .project-links,
.project-page .project-links {
  margin-top: 1em;
  margin-bottom: 1.5em;
}
.project .project-links .project-link,
.project-page .project-links .project-link {
  display: inline-block;
  margin-right: 1em;
  margin-bottom: 0.5em;
  padding: 0.3em 0.8em;
  background-color: #f1f8ff;
  border: 1px solid #c8e1ff;
  border-radius: 3px;
  font-size: 0.9em;
}
.project .project-links .project-link:hover,
.project-page .project-links .project-link:hover {
  background-color: #dbedff;
  text-decoration: none;
}

/* Individual project pages */
.project-page .project-page-hero {
  margin: 0 0 1.5em;
}
.project-page .project-page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75em 1.5em;
  align-items: center;
  margin-bottom: 1em;
  font-size: 0.95em;
  color: #555;
}
.project-page .project-status {
  display: inline-block;
  padding: 0.2em 0.6em;
  border-radius: 3px;
  font-size: 0.85em;
  font-weight: 600;
  text-transform: capitalize;
  background-color: #f0f0f0;
  color: #444;
}
.project-page .project-status--ongoing {
  background-color: #e6f4ea;
  color: #1e7e34;
}
.project-page .project-status--completed {
  background-color: #e8eaf6;
  color: #3949ab;
}
.project-page .project-collaborators {
  margin-bottom: 1em;
  font-size: 0.95em;
}
.project-page .project-page-content {
  margin-top: 1.5em;
  padding-top: 1.5em;
  border-top: 1px solid #eee;
}
.project-page .project-back {
  margin-top: 2.5em;
  padding-top: 1em;
  border-top: 1px solid #eee;
  font-size: 0.95em;
}

/* Blog post embeds (X/Twitter, etc.) */
.post-content .post-embed {
  margin: 1.25rem 0 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

/* Blog post figures */
.post-content .post-figure {
  margin: 1.5rem 0 2rem;
  text-align: center;
}

.post-content .post-figure img {
  display: block;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.post-content .post-figure figcaption {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
}

.post-content .post-figure--half {
  max-width: 50%;
  margin-left: auto;
  margin-right: auto;
}

.post-content .post-figure--triptych .post-figure-panels {
  display: flex;
  flex-direction: row;
  gap: 1.25rem;
  align-items: stretch;
}

.post-content .post-figure--triptych .post-figure-panel--primary,
.post-content .post-figure--triptych .post-figure-panel-stack {
  flex: 1;
  min-width: 0;
}

.post-content .post-figure--triptych .post-figure-panel-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.post-content .post-figure--triptych .post-figure-panel {
  min-width: 0;
}

.post-content .post-figure--triptych .post-figure-panel-label {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .post-content .post-figure--half {
    max-width: 80%;
  }
  .post-content .post-figure--triptych .post-figure-panels {
    flex-direction: column;
    gap: 1.5rem;
  }
  .post-content .post-figure--triptych .post-figure-panel-stack {
    gap: 1.5rem;
  }
}
/* Blog post disclaimer */
.post-disclaimer {
  margin-bottom: 1.5rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid #e8e8e8;
  background: #f8f9fa;
  color: #555;
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.6;
}
.post-disclaimer p {
  margin: 0;
}

/* Blog post epigraph / pull quote */
.post-content .post-epigraph {
  margin: 0 0 1.75rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid #e8e8e8;
  background: #f8f9fa;
  line-height: 1.6;
}

.post-content .post-epigraph-text {
  margin: 0 0 0.4rem;
  color: #333;
  font-size: 1.05rem;
  font-style: italic;
}

.post-content .post-epigraph-cite {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
  font-style: normal;
}

/* Heading permalink anchors (kramdown header_links) */
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4 {
  position: relative;
}

.post-content h1 > a[href^="#"]:empty,
.post-content h2 > a[href^="#"]:empty,
.post-content h3 > a[href^="#"]:empty,
.post-content h4 > a[href^="#"]:empty {
  position: absolute;
  left: -1.25em;
  opacity: 0;
  padding-right: 0.35em;
  text-decoration: none;
  color: #0366d6;
  transition: opacity 0.15s ease;
}

.post-content h1:hover > a[href^="#"]:empty,
.post-content h2:hover > a[href^="#"]:empty,
.post-content h3:hover > a[href^="#"]:empty,
.post-content h4:hover > a[href^="#"]:empty,
.post-content h1 > a[href^="#"]:empty:focus,
.post-content h2 > a[href^="#"]:empty:focus,
.post-content h3 > a[href^="#"]:empty:focus,
.post-content h4 > a[href^="#"]:empty:focus {
  opacity: 1;
}

.post-content h1 > a[href^="#"]:empty::before,
.post-content h2 > a[href^="#"]:empty::before,
.post-content h3 > a[href^="#"]:empty::before,
.post-content h4 > a[href^="#"]:empty::before {
  content: "#";
}

/* Distill-style numbered hover footnotes in blog posts */
.post-content {
  counter-reset: footnote;
}

.footnote {
  position: relative;
  display: inline;
  cursor: default;
  white-space: nowrap;
  counter-increment: footnote;
}

.footnote-marker {
  line-height: 1em;
  font-size: 0.75em;
  position: relative;
  top: -0.5em;
  vertical-align: baseline;
  font-weight: 400;
  margin-left: 0.05em;
}

.footnote-marker::before {
  content: counter(footnote);
  color: hsla(206, 90%, 20%, 0.7);
}

.footnote:hover .footnote-marker::before,
.footnote:focus .footnote-marker::before,
.footnote:focus-within .footnote-marker::before {
  color: hsl(206, 90%, 20%);
}

.footnote-content {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  z-index: 20;
  bottom: calc(100% + 0.6rem);
  left: 50%;
  transform: translateX(calc(-50% + var(--footnote-shift, 0px))) translateY(4px);
  width: max-content;
  max-width: min(22rem, 100vw - 2rem);
  padding: 0.65rem 0.85rem;
  border-radius: 4px;
  background: rgba(250, 250, 250, 0.98);
  color: #333;
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  pointer-events: none;
}

.footnote-content::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(250, 250, 250, 0.98);
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.08));
}

.footnote:hover .footnote-content,
.footnote:focus .footnote-content,
.footnote:focus-within .footnote-content {
  visibility: visible;
  opacity: 1;
  transform: translateX(calc(-50% + var(--footnote-shift, 0px))) translateY(0);
  pointer-events: auto;
}

@media screen and (max-width: 768px) {
  .footnote:hover .footnote-content:not(.is-positioned),
  .footnote:focus .footnote-content:not(.is-positioned),
  .footnote:focus-within .footnote-content:not(.is-positioned) {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }
  .footnote-content.is-positioned {
    position: fixed;
    left: var(--footnote-inset, 12px);
    right: var(--footnote-inset, 12px);
    width: auto;
    box-sizing: border-box;
    bottom: auto;
    transform: none;
    z-index: 100;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
  .footnote-content.is-positioned::after {
    left: var(--footnote-arrow-left, 50%);
    transform: translateX(-50%);
  }
  .footnote-content.is-positioned.is-below::after {
    top: auto;
    bottom: 100%;
    border-top-color: transparent;
    border-bottom-color: rgba(250, 250, 250, 0.98);
  }
}
.footnote-content a {
  color: #0366d6;
  text-decoration: underline;
}

/* Blog post table of contents */
.wrapper:has(.post-layout-with-toc) {
  max-width: 1280px;
}

.post-layout-with-toc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 2.5rem;
  align-items: start;
}

.post-toc {
  position: sticky;
  top: 1.5rem;
}

.post-toc-inner {
  padding: 0.75rem 0 0.75rem 1rem;
  border-left: 2px solid #e8e8e8;
}

.post-toc-nav {
  position: relative;
}

.post-toc-indicator {
  position: absolute;
  left: -1rem;
  width: 2px;
  height: 0;
  background: #0366d6;
  border-radius: 1px;
  opacity: 0;
  transform: translateY(0);
  transition: transform 0.25s ease, height 0.25s ease, opacity 0.15s ease;
  pointer-events: none;
}

.post-toc-title {
  margin: 0 0 0.75rem;
  font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #666;
}

#post-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

#post-toc-list li {
  margin-bottom: 0.45rem;
  line-height: 1.35;
}

#post-toc-list a {
  display: block;
  font-size: 0.85rem;
  color: #555;
  text-decoration: none;
  transition: color 0.15s ease;
}
#post-toc-list a:hover {
  color: #0366d6;
  text-decoration: none;
}

#post-toc-list li.is-active > a {
  color: #0366d6;
  font-weight: 600;
}

#post-toc-list .post-toc-h3 {
  padding-left: 0.85rem;
}
#post-toc-list .post-toc-h3 a {
  font-size: 0.8rem;
  color: #777;
}
#post-toc-list .post-toc-h3.is-active > a {
  color: #0366d6;
}

@media screen and (max-width: 900px) {
  .wrapper:has(.post-layout-with-toc) {
    max-width: calc(1040px - 30px);
  }
  .post-layout-with-toc {
    display: block;
  }
  .post-toc {
    display: none;
  }
}
/* Blog posts */
.blog-posts .blog-under-construction {
  color: #666;
  font-size: 1.1em;
  text-align: center;
  margin: 2em 0;
}
.blog-posts .post {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #eee;
}
.blog-posts .post h2 {
  margin-top: 0;
}
.blog-posts .post .post-date {
  color: #666;
  font-size: 0.9em;
  margin-bottom: 1em;
}
.blog-posts .post .read-more {
  display: inline-block;
  margin-top: 0.5em;
  font-weight: 600;
}

/* Contact page */
.contact-info {
  margin-bottom: 2em;
}
.contact-info h2 {
  margin-top: 1em;
  margin-bottom: 0.5em;
}
.contact-info .social-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-info .social-links li {
  display: inline-block;
  margin-right: 1em;
}

/* Responsive design */
@media screen and (max-width: 600px) {
  .site-nav {
    position: absolute;
    top: 9px;
    right: 15px;
    background-color: #f8f9fa;
    border: 1px solid #e8e8e8;
    border-radius: 5px;
    text-align: right;
  }
  .site-nav .menu-icon {
    display: block;
    float: right;
    width: 36px;
    height: 26px;
    line-height: 0;
    padding-top: 10px;
    text-align: center;
  }
  .site-nav .trigger {
    clear: both;
    display: none;
  }
  .site-nav:hover .trigger {
    display: block;
    padding-bottom: 5px;
  }
  .site-nav .page-link {
    display: block;
    padding: 5px 10px;
    margin-left: 20px;
  }
  .site-nav .page-link:not(:last-child) {
    margin-right: 0;
  }
}
/* Footer styles */
.grey-text {
  color: #777;
  font-size: 14px;
  text-align: center;
}

.site-footer {
  border-top: 1px solid #e8e8e8;
  padding: 20px 0;
}

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