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

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px; /* Account for fixed header height */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

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

body {
  color: #303740;
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
  overflow-wrap: break-word;
}

td,
th,
tr,
p,
a,
li,
address {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

p {
  margin-top: 15px;
  margin-bottom: 15px;
}

.main-content p,
.main-content li,
.publication-entry {
  overflow-wrap: anywhere;
}

/* Header Navigation */
.header-nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e9e9e9;
  z-index: 1000;
  padding: 10px 0;
}

.nav-container {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #2774AE;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
}

.nav-logo img {
  width: 110px;
  height: 50px;
  margin-right: 20px;
  margin-left: 18px;
}

.nav-links {
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  color: #2774AE;
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.3;
  transition: color 0.3s ease;
  margin: 0;
}

.nav-links a:hover {
  color: #2774AE;
}

.main-content {
  margin-top: 28px;
}

strong {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: inherit;
  color: #2774AE;
}

/* Profile hero */
.profile-cell {
  padding: 24px 20px 20px;
  width: 100%;
  vertical-align: middle;
}

.profile-hero h3 {
  color: #252525;
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 18px;
}

.profile-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 36px;
  align-items: start;
}

.profile-contact {
  grid-column: 1;
  grid-row: 1;
  padding-top: 0;
}

.profile-contact-group {
  border-left: 2px solid rgba(39, 116, 174, 0.22);
  color: #3f4650;
  display: block;
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 16px;
  font-style: normal;
  line-height: 1.55;
  margin: 0 0 14px;
  padding-left: 16px;
}

.profile-contact-group:last-child {
  margin-bottom: 0;
}

.profile-contact-group a {
  font-size: inherit;
}

.profile-role {
  color: #252525;
  font-weight: 700;
}

.profile-photo-link {
  display: block;
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  width: 190px;
}

.profile-photo {
  aspect-ratio: 1;
  border-radius: 10px;
  box-shadow: 0 5px 18px rgba(19, 43, 65, 0.14);
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.profile-bio {
  margin-top: 24px;
}

.profile-bio p {
  color: #303740;
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 14px;
}

.profile-bio p:last-child {
  margin-bottom: 0;
}

.ucla-with-bruin {
  align-items: center;
  display: inline-flex;
  gap: 0.22em;
  vertical-align: baseline;
  white-space: nowrap;
}

.ucla-bruin-icon {
  display: block;
  flex: 0 0 auto;
  height: 1.35em;
  width: auto;
}

.pasta-with-icon {
  align-items: center;
  display: inline-flex;
  gap: 0.2em;
  vertical-align: baseline;
  white-space: nowrap;
}

.pasta-with-icon a {
  margin: 0;
}

.pasta-icon {
  display: block;
  flex: 0 0 auto;
  height: 1.45em;
  width: auto;
}

.columbia-with-icon {
  align-items: center;
  display: inline-flex;
  gap: 0.2em;
  vertical-align: baseline;
  white-space: nowrap;
}

.columbia-icon {
  display: block;
  flex: 0 0 auto;
  height: 1.5em;
  width: auto;
}

.profile-org-with-icon {
  align-items: center;
  display: inline-flex;
  gap: 0.2em;
  vertical-align: baseline;
  white-space: nowrap;
}

.profile-org-icon {
  display: block;
  flex: 0 0 auto;
  height: 1.4em;
  object-fit: contain;
  width: auto;
}


/* Section headings */
h2.section-heading {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: bold;
  line-height: 1.3;
  color: #333;
  margin-top: 30px;
  margin-bottom: 20px;
  border-bottom: 2px solid #e9e9e9;
  padding-bottom: 8px;
}

/* Compact academic news list */
.news-section-table {
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  margin: 20px auto;
  width: 100%;
}

.news-cell {
  padding: 0 20px 12px;
  vertical-align: middle;
  width: 100%;
}

.news-cell > .section-heading {
  margin-top: 0;
}

.news-list {
  list-style: none;
  margin: -2px 0 12px;
  padding: 0;
}

.news-item {
  align-items: baseline;
  border-bottom: 1px solid #e8ecef;
  display: grid;
  gap: 24px;
  grid-template-columns: 76px minmax(0, 1fr);
  padding: 14px 0;
}

.news-item:last-child {
  border-bottom: 0;
}

.news-date {
  color: #68727d;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.55;
  white-space: nowrap;
}

.news-item p,
.news-item a {
  font-size: 16px;
}

.news-item p {
  color: #303740;
  line-height: 1.55;
  margin: 0;
}

.kiro-with-icon {
  align-items: center;
  display: inline-flex;
  gap: 0.18em;
  vertical-align: baseline;
  white-space: nowrap;
}

.kiro-with-icon .kiro-link,
.kiro-with-icon .kiro-link:visited {
  color: #6f42c1;
  font-weight: 700;
  margin: 0;
}

.kiro-with-icon .kiro-link:focus,
.kiro-with-icon .kiro-link:hover {
  color: #56329a;
}

.kiro-icon {
  display: block;
  flex: 0 0 auto;
  height: 1.35em;
  width: 1.35em;
}

/* Text-first academic publication list */
.publications-heading {
  align-items: baseline;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.publication-list-link {
  font-size: 20px;
  font-weight: 400;
  margin: 0;
  white-space: nowrap;
}

.publication-list {
  border: 0;
  border-collapse: collapse;
  border-spacing: 0;
  margin: 0 auto 30px;
  width: 100%;
}

.publication-entry {
  border-bottom: 1px solid #e8ecef;
  color: #303740;
  font-size: 16px;
  line-height: 1.55;
  padding: 17px 20px;
  vertical-align: top;
  width: 100%;
}

.publication-list tr:last-child .publication-entry {
  border-bottom: 0;
}

.publication-entry > a {
  margin: 0;
}

.publication-entry papertitle {
  display: inline;
  font-size: 17px;
  line-height: 1.45;
}

.publication-entry em,
.publication-entry em a {
  color: #555;
  font-size: 16px;
  margin: 0;
}

.publication-entry strong {
  font-size: 16px;
}

.publication-entry .publication-note {
  color: #17a2b8;
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  margin-top: 2px;
}

/* Subsection headings */
h3.subsection-heading {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: #555;
  margin-top: 25px;
  margin-bottom: 15px;
}

/* Prospective Students Box */
.prospective-students {
  background: #f0f6ff;
  padding: 17px 20px;
  border: 1px solid rgba(39, 116, 174, 0.12);
  border-left: 4px solid #2774AE;
  border-radius: 8px;
  margin: 28px 0;
  font-size: 16px;
  line-height: 1.5;
}

.prospective-students p {
  color: #333;
  display: grid;
  grid-template-columns: 1.6rem minmax(0, 1fr);
  column-gap: 8px;
  margin: 8px 0;
  font-weight: 500;
}

.prospective-students-icon {
  line-height: 1.5;
  text-align: center;
}

.prospective-students strong {
  color: #0f5285;
  font-weight: 700;
}

/* Legacy support for existing custom tags */
heading {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: bold;
}

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

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

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

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

@media screen and (max-width: 980px) {
  .header-nav {
    padding: 8px 0;
  }

  .nav-container {
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .nav-logo {
    font-size: 20px;
  }

  .nav-logo img {
    height: auto;
    margin: 0 12px 0 0;
    width: 90px;
  }

  .nav-links {
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
    width: 100%;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    white-space: nowrap;
  }

  .main-content {
    margin-top: 28px;
  }
}

@media screen and (max-width: 680px) {
  .nav-container {
    padding: 0 16px;
  }

  .nav-logo {
    font-size: 18px;
  }

  .nav-logo img {
    width: 80px;
  }

  .nav-links {
    gap: 18px;
  }

  .nav-links a {
    font-size: 15px;
  }

  .main-content {
    margin-top: 24px;
  }

  .profile-cell {
    padding: 24px 16px 16px;
  }

  .profile-hero h3 {
    font-size: 25px;
    margin-bottom: 16px;
  }

  .profile-overview {
    grid-template-columns: minmax(0, 1fr) 164px;
    gap: 22px;
  }

  .profile-photo-link {
    width: 164px;
  }
}

@media screen and (max-width: 520px) {
  .news-cell {
    padding-right: 16px;
    padding-left: 16px;
  }

  .news-item {
    gap: 3px;
    grid-template-columns: 1fr;
    padding: 13px 0;
  }

  .publications-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .publication-entry {
    padding: 15px 16px;
  }

  .profile-overview {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .profile-photo-link {
    grid-column: 1;
    grid-row: 1;
    width: 140px;
  }

  .profile-contact {
    grid-column: 1;
    grid-row: 2;
    padding-top: 0;
  }

  .profile-bio {
    margin-top: 24px;
  }

  .prospective-students {
    padding: 15px 16px;
  }
}
