/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAUi-qNiXg7eU0.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAXC-qNiXg7Q.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_FQftx9897sxZ.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_Gwftx9897g.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjxAwXiWtFCfQ7A.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjx4wXiWtFCc.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwaPGQ3q5d0N7w.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwiPGQ3q5d0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

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

body,
td,
th,
tr,
p,
a {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 14px
}

strong {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 14px;
}

heading {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 22px;
}

papertitle {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700
}

name {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 32px;
}

.one {
  width: 160px;
  height: 160px;
  position: relative;
}

.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;
}


/* ===== Base layout ===== */

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-color: #ffffff;
  color: #222;
}

a {
  color: #0056d6;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 16px 40px 16px;
}

/* ===== Hero / top section ===== */

.hero {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-bottom: 32px;
}

.hero-main {
  flex: 1 1 280px;
  min-width: 260px;
}

.hero-photo {
  flex: 0 0 260px;
  max-width: 260px;
}

.hero-photo img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

name {
  font-size: 3rem;
  font-weight: 700;
}

.hero-text p {
  margin: 8px 0;
  line-height: 1.5;
  font-size: 0.98rem;
}

.hero-links {
  text-align: center;
  margin-top: 10px;
  font-size: 1.4rem;
}

.hero-links a {
  margin: 0 0px;
  white-space: nowrap;
}

/* ===== Section headings ===== */

/* heading {
  font-size: 1.4rem;
  font-weight: 600;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 4px;
  display: inline-block;
} */

heading {
  font-size: 2rem;
  font-weight: 700;
  color: #1569C7;
  /* display: block; */
  margin: 48px 0 18px 0;
  letter-spacing: -0.02rem;
}

.section {
  margin-top: 32px;
}



/* ===== Publication cards ===== */

.pub-list {
  width: 100%;
  margin-top: 16px;
}

.pub-card {
  display: flex;
  gap: 22px;
  padding: 20px 0;
  border-bottom: 1px solid #C2DFFF;
  align-items: flex-start;
}

.pub-card:last-child {
  border-bottom: none;
}

.pub-image {
  width: 170px;
  object-fit: cover;
  /* border: 1px solid #ddd; */
  flex-shrink: 0;
}

.pub-info {
  flex: 1;
}

.pub-title {
  font-weight: 600;
  font-size: 1.05rem;
  color: #357EC7;
  margin: 0 0 4px 0;
  display: block;
  text-decoration: none;
}

.pub-title:hover {
  text-decoration: underline;
}

.pub-meta {
  font-size: 0.9rem;
  color: #4169E1;
  margin: 0 0 6px 0;
}

.pub-authors {
  margin: 0 0 6px 0;
  font-size: 0.93rem;
  line-height: 1.4;
  color: #444;
}

.pub-authors strong {
  font-weight: 600;
  color: #000;
}

.pub-desc {
  margin: 0 0 6px 0;
  font-size: 0.92rem;
  color: #444;
}

.pub-links {
  font-size: 0.9rem;
}

.pub-links a {
  font-weight: 600;
  color: #0056d6;
  text-decoration: none;
}

.pub-links a:hover {
  text-decoration: underline;
}

.pub-links-sep {
  color: #999;
  margin: 0 1px;
}

/* ===== Footer ===== */

footer {
  margin-top: 32px;
  font-size: 0.8rem;
  text-align: right;
  color: #777;
}

footer a {
  color: #555;
}

/* ===== Mobile ===== */

@media (max-width: 700px) {
  .hero {
    flex-direction: column-reverse;
    /* keep default align for layout */
    align-items: flex-start;
  }

  /* Center ONLY the top profile image */
  .hero-photo {
    align-self: center;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .hero-photo img {
    margin: 0 auto;
    display: block;
  }

  /* Center name + intro text */
  .hero-main {
    width: 100%;
    text-align: center;
  }

  .hero-text p {
    text-align: center;
  }

  /* REMOVE this line entirely:
     .hero-links { text-align: left; } */

  /* Keep publications responsive */
  .pub-card {
    flex-direction: column;
  }

  .pub-image {
    width: 100%;
    max-width: 260px;
  }
}

/* ===== Dark Mode ===== */

/* @media (prefers-color-scheme: dark) {
  body {
    background-color: #28282b;
    color: #ddd;
  }

  a {
    color: #4ea1ff;
  }

  a:hover {
    color: #f09228;
  }

  .pub-card {
    border-bottom: 1px solid #333333;
  }

  .pub-title {
    color: #79b8ff;
  }

  .pub-meta {
    color: #aec2ed;
  }

  .pub-authors {
    color: #ccc;
  }

  .pub-authors strong {
  color: #ffffff;
  }

  .pub-desc {
    color: #ccc;
  }

  .pub-links a {
    color: #90baea;
  }

  .pub-links a:hover {
  text-decoration: underline;
  color: #f09228;
 }

  name {
    color: #ffffff;
  }

  heading {
  color: #e7eaee;
}

  footer {
    color: #555;
  }

  footer a {
    color: #888;
  }
} */

/*===== Sub-navigation for sections ===== */

.section-header heading {
  display: inline-block;   /* OVERRIDE block display */
  margin: 0;                           /* remove top/bottom spacing */
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-header heading {
  display: inline-block;  /* most important fix */
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: #083614;
}

.sub-nav {
  white-space: nowrap;
}

.sub-nav a {
  margin-left: 15px;
  color: #1569C7;
  text-decoration: none;
}

.sub-nav a:hover {
  text-decoration: underline;
}
