:root {
  --font-main: Aptos, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --color-text: #2f3437;
  --color-muted: #66717a;
  --color-rule: #e8edf2;
  --color-blue: #1772d0;
  --color-orange: #f09228;
}

a {
  color: #1772d0;
  text-decoration: none;
}

a:focus,
a:hover {
  color: #f09228;
  text-decoration: none;
}

body,
td,
th,
tr,
p,
a {
  font-family: var(--font-main);
  font-size: 14px;
}

body {
  color: var(--color-text);
  line-height: 1.48;
}

strong {
  font-family: var(--font-main);
  font-size: 14px;
}

h2 {
  margin: 0;
  font-weight: normal;
  font-family: var(--font-main);
  font-size: 23px;
  color: #222;
}

.bio-text {
  margin: 8px 0 14px;
  color: #343a40;
  font-size: 15px;
  line-height: 1.58;
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin: 12px 0 0;
}

.profile-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 24px;
  padding: 4px 9px;
  border: 1px solid #dde5ec;
  border-radius: 4px;
  background: #fbfcfd;
  color: var(--color-blue);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.profile-button:hover,
.profile-button:focus {
  border-color: var(--color-orange);
  color: var(--color-orange);
}

.profile-icon {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  fill: currentColor;
}

.email-button {
  color: #4e7498;
}

.scholar-button {
  color: #3f72b5;
}

.scholar-button .profile-icon {
  transform: translateY(1px);
}

.github-button {
  color: #3d444b;
}

.section-heading {
  width: 100%;
  border: 0;
  border-spacing: 0;
  border-collapse: separate;
  margin-right: auto;
  margin-left: auto;
}

.section-heading td {
  padding: 18px 16px 10px;
  width: 100%;
  vertical-align: middle;
  border-top: 1px solid var(--color-rule);
}

.section-heading p {
  margin: 4px 0 0;
  color: var(--color-muted);
  font-size: 13px;
}

.papertitle {
  display: inline-block;
  margin-bottom: 5px;
  font-family: var(--font-main);
  color: #1f2933;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.publication-list {
  width: 100%;
  border: 0;
  border-spacing: 0 10px;
  border-collapse: separate;
  margin-right: auto;
  margin-left: auto;
}

.publication-list td {
  color: #40464d;
  line-height: 1.45;
}

.publication-list em {
  color: #5c6670;
  font-size: 13px;
}

.publication-image {
  padding: 22px 16px 16px;
  width: 20%;
  vertical-align: top;
}

.publication-content {
  padding: 20px;
  width: 75%;
  vertical-align: top;
  line-height: 1.55;
}

.publication-content strong {
  line-height: 1.55;
}

.publication-content em {
  display: inline-block;
  margin-top: 2px;
  line-height: 1.45;
}

.paper-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  vertical-align: middle;
}

.paper-button,
.resource-button {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  border: 1px solid #dbe5ee;
  border-radius: 4px;
  background: #fbfdff;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}

.paper-button,
.resource-button {
  overflow: hidden;
  color: var(--color-blue);
  border-color: #cfe0f1;
  background: #f7fbff;
}

.paper-button-label,
.resource-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  align-self: stretch;
  padding: 4px 8px;
  font-size: 12px;
  line-height: 1.2;
}

.paper-button-label::before,
.resource-label::before {
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  background: currentColor;
  opacity: .86;
}

.paper-button-label::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 2h8l4 4v16H6V2zm7 1.8V7h3.2L13 3.8zM8 11h8v1.7H8V11zm0 4h8v1.7H8V15z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 2h8l4 4v16H6V2zm7 1.8V7h3.2L13 3.8zM8 11h8v1.7H8V11zm0 4h8v1.7H8V15z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.video-link .resource-label::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7L8 5z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7L8 5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.code-link .resource-label::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 2.5A1.5 1.5 0 0 1 3.5 1h8A1.5 1.5 0 0 1 13 2.5v11a.5.5 0 0 1-.777.416L10.75 13H3.5A1.5 1.5 0 0 1 2 11.5v-9zM3.5 2a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 .5.5H11V2H3.5zM4.75 4.5h4.5v1h-4.5v-1zm0 2h4.5v1h-4.5v-1z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 2.5A1.5 1.5 0 0 1 3.5 1h8A1.5 1.5 0 0 1 13 2.5v11a.5.5 0 0 1-.777.416L10.75 13H3.5A1.5 1.5 0 0 1 2 11.5v-9zM3.5 2a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 .5.5H11V2H3.5zM4.75 4.5h4.5v1h-4.5v-1zm0 2h4.5v1h-4.5v-1z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.video-link {
  border-color: #f0d4cc;
  background: #fff9f7;
  color: #b85e4b;
}

.code-link {
  border-color: #cfe4d5;
  background: #f8fff9;
  color: #3f7f52;
}

.paper-button:hover,
.paper-button:focus,
.resource-button:hover,
.resource-button:focus {
  border-color: var(--color-orange);
}

.paper-button:hover,
.paper-button:focus,
.resource-button:hover,
.resource-button:focus {
  color: #f09228;
}

.paper-button:hover .citation-count,
.paper-button:focus .citation-count,
.resource-button:hover .resource-metric,
.resource-button:focus .resource-metric {
  color: #777;
}

.citation-count,
.resource-metric {
  display: inline-flex;
  align-items: center;
  align-self: stretch;
  padding: 4px 7px;
  border-left: 1px solid #d9e6f2;
  background: #edf5fc;
  color: #61707d;
  font-size: 12px;
}

.resource-metric {
  border-left-color: rgba(0, 0, 0, .08);
}

.video-link .resource-metric {
  background: #fff0ec;
  color: #95604f;
}

.code-link .resource-metric {
  background: #edf8ef;
  color: #557461;
}

.citation-count[hidden],
.resource-metric[hidden] {
  display: none;
}

.citation-value {
  color: #43515c;
  font-size: 12px;
  font-weight: 700;
}

.citation-label {
  margin-left: 3px;
}

.service-table {
  width: 100%;
  border: 0;
  border-spacing: 0;
  border-collapse: separate;
  margin-right: auto;
  margin-left: auto;
}

.service-table td {
  padding: 8px 16px 12px;
  width: 100%;
  vertical-align: top;
}

.service-intro {
  margin: 0 0 6px;
  color: #3d444b;
  font-size: 14px;
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 5px 0;
  border-bottom: 1px solid #eef2f5;
}

.service-list li:last-child {
  border-bottom: 0;
}

.service-venue {
  color: #343a40;
  line-height: 1.4;
}

.service-year {
  flex: 0 0 auto;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 600px) {
  .service-list li {
    display: block;
  }

  .service-year {
    display: block;
    margin-top: 1px;
  }
}

.name {
  padding-top: 20px;
  margin: 0;
  font-family: var(--font-main);
  color: #20262b;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.1;
}

.one {
  width: 160px;
  height: 160px;
  position: relative;
  margin-top: 2px;
}

.two {
  width: 160px;
  height: 160px;
  position: absolute;
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

.fade {
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

span.highlight {
  background-color: #ffffd0;
}

.colored-box {
    color: black;
    padding: 20px;
    display: inline-block;
    border-radius: 10px;
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin: 0;
  color: #aaa;
  font-size: 11px;
  line-height: 1.5;
}

.footer-value {
  color: #999;
  font-size: 11px;
  font-weight: 400;
}

.footer-divider {
  color: #ccc;
}
