h3 > a {
  text-decoration: none;
}

h3 {
  margin-bottom: -0.2em;
}

body {
  color: #343a40;
}

.page {
  color: #343a40;
}

.page p,
.page li {
  color: #343a40;
}

.side-card {
  color: #343a40;
}

.page p.job-highlight,
.page p.job-highlight strong {
  color: #a61e2c;
}

.job-highlight .job-contact-icon {
  color: inherit;
  text-decoration: none;
  margin-left: 0.35em;
}

.job-highlight .job-contact-icon:hover {
  opacity: 0.85;
}

.bio-intro {
  margin: 0 0 1.25rem;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #f1f3f5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.bio-name {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.25;
  color: #212529;
  margin: 0 0 0.5rem;
}

.bio-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  color: #495057;
  margin: 0 0 0.9rem;
}

.bio-sep {
  color: #adb5bd;
}

.bio-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.bio-link {
  border-color: #e9ecef;
  color: #212529;
}

.bio-link:hover {
  border-color: #dee2e6;
  background: #f8f9fa;
}

.side-card .author-discrip {
  text-align: center;
}

.side-card .cv-links {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

@media (min-width: 34em) {
  .author-links .social-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
    justify-content: center;
    gap: 4px 6px;
    width: min(122px, 100%);
    margin: 0 auto;
    padding: 0;
  }

  .author-links .social-icons li {
    display: block;
    margin: 0;
  }

  .author-links .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    color: #000;
  }

  .author-links .social-icons a:hover {
    color: #c62641;
  }

  .author-links .social-icons img.social-icon-img {
    width: 1.28571em;
    height: 1.28571em;
    display: block;
  }

  .author-links .social-icons a:hover img.social-icon-img {
    filter: brightness(0) saturate(100%) invert(19%) sepia(82%) saturate(3350%) hue-rotate(334deg) brightness(83%)
      contrast(93%);
  }
}

.badge {
  display: inline-block;
  padding: 0.2em 0.6em 0.3em;
  font-size: 75%;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25em;
  margin-right: 0.5em;
  text-decoration: none;
  background-color: transparent;
  border: 1px solid;
}

.badge i {
  margin-right: 0.25em;
}

.badge-project,
.badge-paper,
.badge-code,
.badge-demo,
.badge-conference {
  border: 1px solid #e9ecef;
  font-style: normal;
}

.badge-conference {
  color: rgb(10, 11, 11);
}

.publication-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.publication-block {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  border: 0.5px solid #e9ecef;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.publication-block:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.publication-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  color: rgb(10, 11, 11);
}

.publication-authors {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  line-height: 1.5;
  color: #495057;
}

.publication-links {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.highlight-name {
  font-weight: 600;
}

.timeline {
  position: relative;
  max-width: 100%;
  margin: 2rem 0;
}

.timeline::before {
  content: "";
  position: absolute;
  width: 3px;
  background: linear-gradient(to bottom, #f1f3f5, #dee2e6);
  top: 0;
  bottom: 0;
  left: 3.5rem;
  z-index: 0;
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  display: flex;
  align-items: flex-start;
}

.timeline-logo {
  width: 5rem;
  height: 5rem;
  border-radius: 8px;
  overflow: hidden;
  background-color: white;
  border: 2px solid #e9ecef;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  z-index: 1;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-logo img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
}

.timeline-content {
  background-color: white;
  border-radius: 12px;
  padding: 1.5rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f3f5;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-left: 1.5rem;
  flex: 1;
}

.timeline-content:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(96, 92, 92, 0.08);
}

.timeline-date {
  font-size: 1.5rem;
  font-weight: 500;
  color: #868e96;
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.timeline-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #212529;
  line-height: 1.4;
}

.timeline-description {
  font-size: 1.5rem !important;
  color: #495057;
  line-height: 1.6;
  margin: 0;
}

.news-container {
  position: relative;
}

.news-slider {
  max-height: 210px;
  overflow-y: auto;
  padding-right: 10px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.news-slider::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.news-slider:hover::-webkit-scrollbar {
  width: 6px;
}

.news-slider:hover::-webkit-scrollbar-track {
  background: transparent;
}

.news-slider:hover::-webkit-scrollbar-thumb {
  background: #adb5bd;
  border-radius: 4px;
}

.news-slider:hover::-webkit-scrollbar-thumb:hover {
  background: #868e96;
}

.scroll-indicator {
  text-align: center;
  padding: 5px 0;
  font-size: 0.85rem;
  color: #868e96;
  font-style: italic;
}

.publication-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.publication-block {
  display: flex;
  gap: 20px;
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.publication-block:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.publication-image {
  flex-shrink: 0;
  width: 240px;
  height: 135px;
  border-radius: 6px;
  overflow: hidden;
  background: #f8f9fa;
}

.publication-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.publication-block:hover .publication-image img {
  transform: scale(1.05);
}

.publication-content {
  flex: 1;
  min-width: 0;
}

@media (max-width: 768px) {
  .publication-block {
    flex-direction: column;
  }

  .publication-image {
    width: 100%;
    height: auto;
    padding-bottom: 56.25%;
    position: relative;
  }

  .publication-image img {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: contain;
  }
}
