:root {
  --cardinal: #a31f34;
  --very-light-gray: #f1f1f1;
  --light-gray: #c2c0bf;
  --dark-gray: #8a8b8c;
}

html {
  scroll-behavior: smooth;
}

@font-face {
  font-family: 'Lato';
  src: url('../fonts/lato/Lato-Regular.woff2') format('woff2');
  font-style: normal;
  font-weight: normal;
  text-rendering: optimizeLegibility;
}

@font-face {
  font-family: 'Lato';
  src: url('../fonts/lato/Lato-Bold.woff2') format('woff2');
  font-style: normal;
  font-weight: bold;
  text-rendering: optimizeLegibility;
}

body {
  font-family: "Lato", "Helvetica Neue", Ubuntu, Arial, PingFang, SimHei, sans-serif;
  font-size: 15px;
  line-height: 1.75em;
  color: #1a1a1a;
  font-weight: normal;
  background: #fafafa;
}

body .container,
body .container-fluid {
  max-width: 900px;
  background: white;
  padding: 40px 30px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  margin-top: 30px;
  margin-bottom: 30px;
}

body .row {
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

b.zh {
  font-weight: 900;
}

a {
  color: var(--cardinal);
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

a:hover {
  color: #8c1929;
  text-decoration: underline;
}

abbr[title] {
  text-decoration: none;
  text-decoration-skip-ink: auto;
  transition: color 0.1s ease-in-out, border-color 0.1s ease-in-out;
}

.section-item {
  padding: 24px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: #fafafa;
  transition: all 0.3s ease;
}

.section-item:hover {
  background: #f5f5f5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.section-head {
  padding-top: 20px;
  padding-bottom: 10px;
}

.section-title {
  font-weight: 600;
  font-size: 22px;
  display: inline-block;
  letter-spacing: -0.02em;
  color: #1a1a1a;
}

.section-sub {
  padding-left: 6px;
  color: var(--light-gray);
}

@media (max-width: 575.98px) {
  .section-sub {
    padding-left: 0px;
  }
  
  body .container,
  body .container-fluid {
    padding: 20px 15px;
    margin-top: 15px;
    margin-bottom: 15px;
  }
  
  .section-item {
    padding: 16px;
  }
}

.col-wrapper {
  padding-left: 0;
  padding-right: 0;
}

.sec-wrapper {
  margin-top: 30px;
  margin-bottom: 20px;
}

/*-----------------
 * Home
 *-----------------*/

.home-wrapper {
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  padding: 0 !important;
  margin-bottom: 30px !important;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 30px !important;
}

.home-wrapper .picture img {
  width: 100%;
  max-width: 220px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.home-wrapper .picture img:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.home-wrapper .picture .credit {
  font-size: 10px;
  color: var(--black);
  visibility: hidden;
}

/* .home-wrapper .picture .credit a {
  font-size: 10px;
  color: var(--black);
  visibility: hidden;
} */

/* .creditmain {
  font-size: 10px;
  color: var(--black);
  display: block;
}

.creditmain a {
  font-size: 10px;
  color: var(--black);
  display: block;
} */

/* 
.home-wrapper .picture {
  font-size: 10px;
  color: var(--blakc);
}

.home-wrapper .picture a {
  font-size: 10px;
  color: var(--black);
}

.credit {
  font-size: 10px;
  color: var(--black);
}

.credit a {
  font-size: 10px;
  color: var(--black);
} */

.home-wrapper .description {
  padding-top: 30px;
}

.home-wrapper .description .name {
  font-size: 34px;
  font-weight: 600;
  line-height: 1.2em;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

@media (min-width: 576px) {
  .home-wrapper .description {
    padding-top: 0;
    padding-left: calc(20px + 5%);
  }
}

.home-wrapper .social-icon {
  margin-top: 15px;
  margin-bottom: 0;
  padding: 0;
  display: block;
}

.home-wrapper .social-icon li {
  display: inline-block;
  margin: 0 2px;
}

.home-wrapper .social-icon li a {
  display: block;
  color: #1a1a1a;
  font-size: 16px;
  width: 36px;
  height: 36px;
  text-align: center;
  border-radius: 8px;
  border: 2px solid var(--very-light-gray);
  line-height: 32px;
  transition: all 0.2s ease;
  background: white;
}

.home-wrapper .social-icon li a:hover {
  border-color: var(--cardinal);
  color: var(--cardinal);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(163, 31, 52, 0.15);
}

.home-wrapper .interests {
  padding-top: 20px;
  margin-bottom: -20px;
}

@media (min-width: 992px) {
  .home-wrapper .interests {
    padding-top: 0;
    margin-bottom: 0;
  }
}

/*------------------
 * Bio
 *------------------*/

.bio-wrapper {
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  padding: 0 !important;
  margin-bottom: 10px !important;
}

.bio-wrapper .info,
.bio-wrapper .info:hover {
  color: black;
  text-decoration: none;
}

.bio-wrapper .zh-name:hover {
  text-decoration: none;
  border-bottom: 1.5px dashed currentColor;
}

.bio-wrapper .name-icon {
  font-size: 14px;
  margin-left: -4px;
  margin-right: -4px;
}

.bio-wrapper .section-item {
  padding-left: 32px;
  padding-right: 32px;
}

/*------------------
 * Opportunities
 *------------------*/

.opp-wrapper {
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  padding: 0 !important;
  margin-bottom: 10px !important;
}

.opp-wrapper .section-item {
  background: #fff5f7;
  padding-left: 32px;
  padding-right: 32px;
}

/*------------------
 * Name
 *------------------*/

.name-wrapper {
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  padding: 0 !important;
}

.name-wrapper .zh-a,
.name-wrapper .zh-a:hover {
  color: black;
  text-decoration: none;
  border-bottom: 1.5px dashed currentColor;
}

.name-wrapper .blockquote {
  font-size: 14px;
}

.name-wrapper .blockquote-footer {
  margin-top: 0px;
  font-size: 14px;
  padding-bottom: 0px;
}

.name-wrapper .blockquote-footer .zh-a,
.name-wrapper .blockquote-footer .zh-a:hover,
.name-wrapper .blockquote-footer .en-a,
.name-wrapper .blockquote-footer .en-a:hover {
  color: currentColor;
}

.name-wrapper .blockquote-footer .en-a,
.name-wrapper .blockquote-footer .en-a:hover {
  text-decoration: underline;
  border-bottom: none;
}

/*------------------
 * Publications
 *------------------*/

.pub-wrapper .title a {
  color: #1a1a1a;
  font-weight: 600;
  font-size: 16.5px;
  line-height: 1.5em;
  letter-spacing: -0.01em;
}

.pub-wrapper .title a:hover {
  color: var(--cardinal);
}

.pub-wrapper abbr[title] {
  color: var(--light-gray);
  text-decoration: none;
}

.pub-wrapper abbr[title]:hover {
  color: var(--dark-gray);
  text-decoration: underline;
}

.pub-wrapper .link .venue {
  font-weight: bold;
}

.pub-wrapper .link a {
  color: #1a1a1a;
  padding: 2px 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.pub-wrapper .link a:hover {
  color: var(--cardinal);
  background: rgba(163, 31, 52, 0.05);
  text-decoration: none;
}

.pub-wrapper .highlight {
  color: var(--cardinal);
  font-weight: bold;
}

.pub-wrapper .authors {
  color: var(--light-gray);
  margin-top: 6px;
  margin-bottom: 6px;
}

.pub-wrapper .authors a {
  color: var(--light-gray);
}

.pub-wrapper .authors a:hover {
  color: var(--dark-gray);
}

.pub-wrapper .authors me {
  color: black;
}

.pub-wrapper .figure img {
  margin: auto;
  padding: 0px 20px 0px 0;
  max-width: 240px;
  width: 100%;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.pub-wrapper .figure img:hover {
  transform: scale(1.03);
}

@media (max-width: 767.98px) {
  .pub-wrapper .figure {
    display: none;
  }
}

/*------------------
 * Experience
 *------------------*/

.exp-wrapper .section-item {
  border-left: 3px solid var(--very-light-gray);
  padding-left: 20px !important;
  background: transparent !important;
  margin-left: 10px;
}

.exp-wrapper .section-item:hover {
  border-left-color: var(--cardinal);
  background: #fafafa !important;
}

.exp-wrapper .title a {
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.exp-wrapper a {
  color: #1a1a1a;
  transition: all 0.2s ease;
}

.exp-wrapper a:hover {
  color: var(--cardinal);
}

.exp-wrapper .info {
  line-height: 20px;
}

.exp-wrapper .time {
  font-size: 14px;
}

.exp-wrapper .time fix {
  display: inline-block;
  min-width: 62px;
  text-align: left;
}

@media (min-width: 768px) {
  .exp-wrapper .time {
    text-align: right;
    display: block;
  }
}

@media (max-width: 767.98px) {
  .exp-wrapper .location {
    display: none;
  }
}

.exp-wrapper .location {
  color: var(--light-gray);
}

/*------------------
 * Footer
 *------------------*/

footer {
  font-size: 12px;
  text-align: center;
  padding-bottom: 30px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #e5e5e5;
}

footer a {
  color: currentColor;
}

footer a:hover {
  color: currentColor;
}

footer .left {
  text-align: right;
  padding-right: 5px;
}

footer .icon {
  font-size: 10px;
  text-align: center;
  padding-left: 0;
  padding-right: 0;
}

footer .right {
  text-align: left;
  padding-left: 5px;
}

.news {
  color: red; /* Set text color to red */
  background-color: #f1f1f1; /* Light gray background */
  padding: 10px; /* Optional padding for better spacing */
  border-radius: 4px; /* Optional rounded corners */
}