@charset "utf-8";
body {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    padding-top: 5.0rem;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 700;
}

.card {
    border-radius: 0.8rem!important;
}

.card-img-overlay {
    border-radius: 0.8rem!important;
}

.rounded-xl {
    border-radius: 0.8rem!important;
}

.rounded-xl-bottom {
    border-bottom-right-radius: 0.8rem !important;
    border-bottom-left-radius: 0.8rem !important;
}

.rounded-xl-top {
    border-top-left-radius: 0.8rem !important;
    border-top-right-radius: 0.8rem !important;
}


.text-profile-position {
    font-weight: 400;
}

.text-profile-bio {
    /* font-family: "Raleway"; */
    font-weight: 400;
}

.navbar {
    opacity: 0.95;
}

.inline-badge {
    height: 16px;
    vertical-align: -10%;
    margin-right: 2px;
    line-break: unset;
}

.no-break {
    white-space: nowrap;
}

.cover-image {
    width: 180px;
    max-height: 120px;
}

.abstract-body {
    min-height: 100px;
}

img.lazy {
    background-image: url('images/loading.gif');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 50px 50px;
    min-height: 80px;
}

div.lazy {
    background-image: url('images/loading.gif');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 50px 50px;
    min-height: 80px;
}

.badge-publication {
    font-size: 100%;
}

.email-text {
    font-family: Courier, monospace;
}

/* 基础过渡 */
.project-card.interactive {
    transition: transform .15s ease, box-shadow .15s ease;
  }
  
  /* 悬停、键盘聚焦、脚本触发时的浮起态 */
  .project-card.interactive:hover,
  .project-card.interactive:focus-within,
  .project-card.interactive.is-hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1.25rem rgba(0,0,0,.12);
  }
  
  /* 统一的浮动效果 */
.hover-lift {
    transition: transform .15s ease, box-shadow .15s ease;
  }
  .hover-lift:hover,
  .hover-lift:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1.25rem rgba(0,0,0,.12);
  }
  
  /* 触屏：点按也给反馈 */
  @media (hover: none) {
    .hover-lift:active {
      transform: translateY(-2px);
      box-shadow: 0 0.5rem 1.25rem rgba(0,0,0,.12);
    }
  }
  
  /* 尊重减少动画设置（可选） */
  @media (prefers-reduced-motion: reduce) {
    .hover-lift { transition: none; }
  }
  