body {
     margin: auto;
     background-color: #f7f7f5;
     color: #222;
     font-size: 12pt;
     padding-left: 0;
     font-family: Arial, Helvetica, sans-serif;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #eceae3;
  backdrop-filter: blur(4px);
}

.site-header-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-title {
  font-size: 16pt;
  font-weight: bold;
  color: #111;
}

.site-nav a {
  margin-left: 14px;
  color: #333;
}

.site-nav a.active {
  font-weight: bold;
}

.disabled-link {
  color: #666;
  cursor: default;
  margin-left: 2px;
}

.font-hei {
  color: #222;
}

h1   {
     font-size:      24pt;
     font-style:     normal;
     margin-top:     15px;
}

h2   {
     font-size:      17pt;
     font-style:     normal;
     /* border-bottom: solid 1px #A9A9A9; */
     color: rgb(0, 0, 0);
     margin-bottom: 3px;
}

img {
    max-width: 100%;
    max-height: 100%;
}

.main-container {
     max-width: 100%;
     background: white;
     padding: 18px 10px 28px;
}

.content-container {
     box-sizing: border-box;
     max-width: 940px;
     width: 100%;
     margin: 0 auto;
     margin-bottom: 20px;
     padding: 10px 18px;
     overflow: hidden;
}

.hflex-container{
    display: flex;
    max-width: 900px;
    width: 100%;
    margin: auto;
    /* justify-content: center; */
    flex-direction: row;
    /* justify-content: flex-start; */
    /* justify-content: flex-start | flex-end | center | space-between | space-around | space-evenly; */
    /* align-items: stretch | flex-start | flex-end | center | baseline; */
}

a:link {
  text-decoration: none;
}

a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:active {
  text-decoration: underline;
}

hr {
  border: 0;
  height: 1px;
  background: #e9e6df;
  margin: 8px 0 14px;
}

/*  Profile styles
--------------------------------------*/

#profile {
  justify-content: flex-start;
  align-items: flex-start;
}

#profile img{
    width: 155px;
    max-height: 300px;
    margin: 8px 20px 20px 20px;
    object-fit: contain;
}

.hero-card {
  background: #fff;
  border: 1px solid #eceae3;
  border-radius: 16px;
  padding: 26px;
  margin-bottom: 26px;
}

.hero-layout {
  display: flex;
  align-items: flex-start;
  gap: 28px;
}

.hero-photo {
  width: 180px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.hero-main {
  flex: 1;
}

.hero-kicker {
  margin: 0 0 4px;
  color: #6b6b6b;
  font-size: 12pt;
}

.hero-name {
  margin: 0 0 8px;
  font-size: 30pt;
  line-height: 1.1;
}

.hero-role {
  margin: 0 0 6px;
  color: #333;
}

.hero-bio {
  margin: 14px 0 16px;
  max-width: 760px;
  line-height: 1.7;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-bottom: 16px;
}

.hero-links a,
.hero-links .disabled-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.research-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.research-tags span {
  padding: 6px 12px;
  border-radius: 999px;
  background: #f4f2ed;
  color: #4f4a44;
  font-size: 10.5pt;
}

.home-section {
  margin-bottom: 24px;
}

.section-header-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.section-link {
  color: #2a6db4;
  font-size: 10.5pt;
}

.simple-callout {
  border: 1px solid #eceae3;
  background: #faf9f6;
  border-radius: 14px;
  padding: 16px 18px;
  line-height: 1.7;
}

.simple-callout p {
  margin: 0 0 10px;
}

.simple-callout p:last-child {
  margin-bottom: 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.info-card {
  border: 1px solid #eceae3;
  border-radius: 14px;
  background: #fff;
  padding: 18px 18px 14px;
}

.info-card-wide {
  grid-column: span 2;
}

.clean-list {
  margin: 0;
  padding-left: 18px;
  line-height: 1.7;
}

.page-credit {
  margin-top: 30px;
  font-size: 10pt;
  color: #666;
}


/*  News styles
--------------------------------------*/

div.news {
  width: 100%;
  max-height: 300px;
  overflow-y: scroll;
  overflow-x: hidden;
  margin-top: 0;
  border: 1px solid #eceae3;
  border-radius: 14px;
  background: #fff;
  padding: 14px 16px;
}

ul.news li { 
  margin-bottom: 8px; 
}

/* Hide the default scrollbar */
div.news::-webkit-scrollbar {
  width: 6px; /* Set the width of the scrollbar */
}

/* Handle (the draggable part of the scrollbar) */
div.news::-webkit-scrollbar-thumb {
  background: transparent;
}

/* On hover, style the scrollbar handle */
div.news:hover::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 6px; /* Rounded corners of the handle */
}

div.news::-webkit-scrollbar-track {
  background: transparent;
}

div.news:hover::-webkit-scrollbar-track {
  background: #f1f1f1; /* Background color when hovered */
}


.inlineList {
    list-style-type: none; /* Remove default list bullets */
    display: inline; /* Display list items inline */
    padding: 0px; /* Remove default padding */
    margin-left: 20px;
}

.inlineList li {
    display: inline; /* Display list items inline */
    margin-right: 5px; /* Add some space between items */
}

.full-list {
    list-style-type: none; /* Remove default list bullets */
    display: inline; /* Display list items inline */
    padding: 0px; /* Remove default padding */
    margin-left: 0px;
}

.full-list li {
    display: inline; /* Display list items inline */
    margin-bottom: 3px;
}

.full-list-item {
    margin-bottom: 5px; /* Add some space between items */
    line-height: 1.5;
}

.full-list-itemhl {
    margin-bottom: 5px; /* Add some space between items */
    line-height: 1.5;
    background-color: rgba(255, 255, 0, 0.197);
}

/*  Education and Experience styles
--------------------------------------*/
.imginfo {
   max-width: 36%;
   max-height: 160px;
   display: flex;
   margin: 0 10px 0 10px;
   align-items: center;
}

.imginfo img {
      width: 36%;
      margin-right: 20px;
      object-fit: contain;
}

.imginfo p {
    font-size: 14px;
}

.edu img{
  height: 20px;
  margin-left: 5px;
  margin-right: 5px;
}

.edu p {
  display: inline-block;
}

.experience table, .experience td {
  vertical-align: top;
  padding: 3px 5px 3px 5px;
}

/*  Paper styles
    FontAwesome reference: http://astronautweb.co/snippet/font-awesome/
--------------------------------------*/
#highlight-publication ul,
#selected-publication ul {
	padding: 0;
	list-style: none;
}

#publication-switch a.disabled {
	cursor: default;
	color: #666;
	text-decoration: none;
}

#paper {
    border-bottom: solid 1px #EEE;
    margin-bottom: 10px;
    margin-top: 10px;
    /* max-height: 150px; */
    max-width: 900px;
    min-height: 100px;
    align-items: center;
}

#paper img {
    /* width: 100; */
    /* max-height: 120px; */
    /* margin: 4px; */
    object-fit: contain;
}

#paper td
{
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 12px;
    padding-right: 12px;
    vertical-align: middle;
}

#paper .imgtd {
  width: 100px;
  border: 1px dotted #555;
}

#paper .imgbadge{
  max-height: 20px;
  max-width: 80px;
  vertical-align: middle;
  margin-left: 0px;
  margin-right: 5px;
}

#paper .prjbadge{
  max-height: 20px;
  max-width: 100px;
  vertical-align: middle;
  margin-left: 0px;
  margin-right: 0px;
}

#paper .title {
    margin: 1px;
    margin-bottom: 5px;
    font-size: 12pt;
    font-weight: bold;
}

#paper .authors {
    padding: 1px;
    margin: 1px;
    font-size: 10pt;
    /* color: #1F618D; */
    /* font-style: italic; */
}

#paper .author_me {
    /* color: #943126; */
    font-style: italic;
    font-weight: bold;
}

#paper .venue {
    /* color: #500; */
    margin: 1px;
    font-size: 11pt;
}

#paper .arxivbadge {
  content: url("/?originalUrl=https%3A%2F%2Fimg.shields.io%2Fbadge%2FarXiv-Paper-e9f1f6%3Fstyle%3Dflat-square")
}

#paper .pdflink::before{
  font-family: FontAwesome;
  color: black;
  margin: 5px 5px 5px 2px;
  content: "\f1c1";
}

#paper .codelink::before{
  font-family: FontAwesome;
  color: black;
  margin: 5px;
  content: "\f09b";
}

#paper .pptlink::before{
  font-family: FontAwesome;
  color: black;
  margin: 5px;
  content: "\f1c4";
}

#paper .prjlink::before{
  font-family: FontAwesome;
  color: black;
  margin: 5px;
  content: "\f085";
}

#paper .coming{
  font-family: FontAwesome;
  font-style: italic;
  color: gray;
  margin: 5px;
}

.pub-filter-group {
  margin-bottom: 18px;
}

.pub-filter-btn {
  border: 1px solid #e6e0d5;
  background: #fff;
  padding: 8px 14px;
  margin-right: 8px;
  margin-bottom: 8px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pub-filter-btn.active {
  background: #4a90d9;
  color: #fff;
  border-color: #4a90d9;
}

#publications-container {
  margin-top: 10px;
}

.pub-year-group {
  margin-bottom: 24px;
}

.pub-year-title {
  margin-bottom: 12px;
  padding-bottom: 4px;
  border-bottom: 1px solid #eceae3;
}

.pub-year-list {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 22px;
}

.publication-item {
  margin-bottom: 18px;
  line-height: 1.55;
}

.publication-title-line {
  margin-bottom: 4px;
  font-size: 13.2pt;
}

.publication-authors-line {
  margin-bottom: 3px;
}

.publication-venue-line {
  margin-bottom: 3px;
  color: #3f3f3f;
}

.publication-links-line {
  font-size: 10.5pt;
}

.publication-link {
  margin-right: 6px;
  color: #2a6db4;
}

.publication-meta-note {
  margin: 0 0 12px;
  color: #666;
  font-size: 10.5pt;
}

.publication-meta-note span,
.publication-meta-note a {
  margin-right: 8px;
}

.lab-tagline {
  color: #333;
  margin-bottom: 18px;
}

.lab-section {
  margin-top: 20px;
  margin-bottom: 20px;
}

.openings-contact-box {
  margin-top: 12px;
  background: #f7f9fc;
  border: 1px solid #e5eaf2;
  border-radius: 8px;
  padding: 12px;
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.member-card {
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.member-name {
  margin: 0 0 6px 0;
}

.member-title {
  margin: 0 0 8px 0;
  color: #333;
  font-weight: 600;
}

.member-bio {
  margin: 0 0 10px 0;
  color: #555;
}

.member-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.member-link {
  font-size: 10pt;
}

.empty-text {
  color: #666;
  font-style: italic;
}

@media (max-width: 768px) {
  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .site-nav a {
    margin-left: 0;
    margin-right: 10px;
  }

  #profile {
    flex-direction: column;
  }

  .hero-layout {
    flex-direction: column;
  }

  .hero-photo {
    width: 150px;
  }

  .hero-name {
    font-size: 24pt;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .info-card-wide {
    grid-column: span 1;
  }

  .member-grid {
    grid-template-columns: 1fr;
  }
}
