/* 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;
}

h2 {
  margin: 0;
  font-weight: normal;
  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 {
  padding-top: 20px;
  margin: 0;
  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;
}

.colored-box {
    color: black;
    padding: 20px;
    display: inline-block;
    border-radius: 10px;
}

/* Navigation/Tabs Styling */
.nav-tabs {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 15px 0;
  border-bottom: 1px solid #e0e0e0;
  flex-wrap: wrap;
  background-color: #fafafa;
}

.nav-tabs a {
  padding: 10px 5px;
  font-size: 15px;
  font-weight: 500;
  color: #666;
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}

.nav-tabs a:hover {
  color: #1772d0;
  border-bottom-color: #1772d0;
}

.nav-tabs a.active {
  color: #1772d0;
  border-bottom-color: #1772d0;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* News Section Scrollable */
.news-section {
  max-height: 300px;
  overflow-y: auto;
  padding: 0;
  margin: 0;
  background-color: transparent;
  border: none;
  border-radius: 0;
}

.news-section ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-section li {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e8e8e8;
  line-height: 1.6;
  font-size: 14px;
}

.news-section li:last-child {
  border-bottom: none;
}

.news-section strong {
  color: #555;
  font-weight: 600;
}

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

.news-section a:hover {
  color: #f09228;
  text-decoration: underline;
}

/* Scrollbar styling */
.news-section::-webkit-scrollbar {
  width: 6px;
}

.news-section::-webkit-scrollbar-track {
  background: transparent;
}

.news-section::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.news-section::-webkit-scrollbar-thumb:hover {
  background: #999;
}

/* Shared page layout */
body { margin: 0; color: #222; line-height: 1.6; }
.site-content, .site-footer { max-width: 800px; margin: 0 auto; padding: 28px 20px; box-sizing: border-box; }
.profile { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.profile .name { padding-top: 0; font-weight: 400; line-height: 1.25; }
.profile p { margin: 12px 0; }
.profile-photo { display: block; margin-top: 22px; aspect-ratio: 1; overflow: hidden; position: relative; }
.profile-photo img { display: block; position: absolute; width: 180%; max-width: none; height: 240%; left: -53%; top: -89%; object-fit: cover; }
.profile-links { line-height: 2; }
.content-section { margin-top: 30px; }
.content-section h2 { margin-bottom: 14px; }
.date-note, .date-source, .muted { color: #666; font-size: 12px; }
.date-note { margin: 8px 0 0; }
.publication { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; margin: 28px 0 36px; }
.publication-visual { align-self: start; padding-top: 4px; }
.publication-visual img { width: 100%; height: auto; border-radius: 4px; }
.publication-badge { display: flex; align-items: center; justify-content: center; min-height: 110px; background: #edf3f7; color: #31546d; border-radius: 4px; text-align: center; font-size: 25px; line-height: 1.5; }
.publication h3, .teaching-entry h3 { margin: 0 0 8px; line-height: 1.5; }
.publication h3 a, .teaching-entry h3 a { font-size: 16px; }
.publication p { margin: 7px 0; }
.publication .venue { font-style: italic; font-size: 13px; }
.teaching-entry { padding: 24px 0; border-bottom: 1px solid #e8e8e8; }
.teaching-entry:last-child { border-bottom: 0; }
.teaching-entry p { margin: 8px 0; }
.teaching-entry ul { padding-left: 20px; }
.teaching-entry li { margin: 5px 0; }
.site-footer { padding-top: 10px; color: #666; text-align: right; font-size: 12px; }
.site-footer a { font-size: inherit; }
a:focus-visible, .news-section:focus-visible { outline: 2px solid #1772d0; outline-offset: 4px; }
@media (max-width: 600px) {
  .site-content, .site-footer { padding: 24px 18px; }
  .nav-tabs { gap: 14px; padding: 8px 10px; }
  .nav-tabs a { font-size: 14px; }
  .profile { grid-template-columns: 1fr; gap: 12px; }
  .profile-photo { grid-row: 1; width: 180px; max-width: 100%; margin: 0 auto 8px; }
  .profile .name { font-size: 30px; }
  .publication { grid-template-columns: 1fr; gap: 14px; }
  .publication-visual { max-width: 160px; }
  .site-footer { text-align: left; }
}
