/* 
   Commented out Lato font imports - using system fonts for consistency
   
/* 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;
}

/* Use site-consistent fonts and sizing */
body,
td,
th,
tr,
p,
a {
  font-family: -apple-system, ".SFNSText-Regular", "San Francisco", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", Arial, sans-serif;
  font-size: 1em;
  /* type-size-5 equivalent */
}

strong {
  font-family: -apple-system, ".SFNSText-Regular", "San Francisco", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", Arial, sans-serif;
  font-size: 1em;
  /* type-size-5 equivalent */
}

h2 {
  margin: 0;
  font-weight: normal;
  font-family: -apple-system, ".SFNSText-Regular", "San Francisco", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", Arial, sans-serif;
  font-size: 1.25em;
  /* type-size-4 equivalent */
}

.papertitle {
  font-family: -apple-system, ".SFNSText-Regular", "San Francisco", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", Arial, sans-serif;
  font-size: 1em;
  /* type-size-5 equivalent */
  font-weight: 700;
}

.name {
  padding-top: 20px;
  margin: 0;
  font-family: -apple-system, ".SFNSText-Regular", "San Francisco", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", Arial, sans-serif;
  font-size: 2.441em;
  /* type-size-1 equivalent */
}

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

/* Research page specific styles */
.research-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.internships-section,
.other-research-section {
  margin-bottom: 40px;
}

.internships-section h2,
.other-research-section h2 {
  border-bottom: 2px solid #1772d0;
  padding-bottom: 10px;
  margin-bottom: 25px;
  color: #333;
}

.research-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 20px 0;
}

.research-table tr {
  margin-bottom: 30px;
  display: table-row;
}

.research-table tr:last-child td {
  border-bottom: none;
}

.research-table td {
  padding: 20px;
  vertical-align: top;
  border-bottom: 1px solid #eee;
}

.project-image {
  width: 100px;
  min-width: 100px;
  text-align: center;
}

.placeholder-image {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
  border: 2px solid #ddd;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.placeholder-image:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.project-content {
  width: auto;
  padding-left: 30px;
}

.project-title {
  margin-bottom: 8px;
}

.project-title a {
  font-family: -apple-system, ".SFNSText-Regular", "San Francisco", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", Arial, sans-serif;
  font-size: 1.125em;
  /* Slightly larger than base for titles */
  font-weight: 700;
  color: #1772d0;
  text-decoration: none;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.project-title a:hover {
  color: #f09228;
}

.project-authors {
  margin-bottom: 5px;
  font-size: 0.9em;
  /* Slightly smaller than base */
  line-height: 1.4;
}

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

.project-authors a:hover {
  color: #f09228;
  text-decoration: underline;
}

.project-venue {
  margin-bottom: 10px;
  font-style: italic;
  font-size: 0.9em;
  /* Slightly smaller than base */
  color: #666;
}

.project-description {
  font-size: 0.9em;
  /* Slightly smaller than base */
  line-height: 1.5;
  color: #333;
}

.project-description a {
  color: #1772d0;
  text-decoration: none;
  font-weight: 500;
}

.project-description a:hover {
  color: #f09228;
  text-decoration: underline;
}

.other-research-section p {
  font-size: 1em;
  line-height: 1.6;
  color: #555;
}

/* Responsive design */
@media (max-width: 768px) {
  .research-container {
    padding: 15px;
  }

  .research-table {
    display: block;
  }

  .research-table tr {
    display: block;
    margin-bottom: 30px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
  }

  .research-table td {
    display: block;
    width: 100%;
    padding: 15px;
    border-bottom: none;
  }

  .project-image {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #eee;
  }

  .placeholder-image {
    width: 60px;
    height: 60px;
    font-size: 20px;
  }

  .project-content {
    width: 100%;
    padding-left: 15px;
  }
}

/* GitHub icon styles for project titles */
.project-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.github-icon-link {
  color: #1772d0;
  text-decoration: none;
  font-size: 1.1em;
  transition: color 0.2s ease;
}

.github-icon-link:hover {
  color: #f09228;
}

.github-icon-link i {
  display: inline-block;
}