@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/lato-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Lato';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('assets/fonts/lato-bold.woff2') format('woff2');
}

@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/lato-italic.woff2') format('woff2');
}

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

a:focus,
a:hover,
a:focus-visible {
  color: #a64b00;
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid #a64b00;
  outline-offset: 2px;
}

body,
td,
th,
tr,
p,
a {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 0.9375rem;
  line-height: 1.5;
}

body {
  color: #000000;
  background: #ffffff;
}

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

h2 {
  margin: 0;
  font-weight: normal;
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 22px;
  line-height: 1.25;
}

.papertitle {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
}

.name {
  grid-area: name;
  padding-top: 20px;
  margin: 0;
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 32px;
  font-weight: normal;
  line-height: 1.2;
  text-align: center;
}

.bio-cell {
  padding: 0;
  vertical-align: middle;
}

.bio-layout {
  display: grid;
  grid-template-columns: 63% 37%;
  grid-template-areas:
    "name portrait"
    "bio portrait"
    "links portrait";
  align-items: center;
}

.name,
.bio-text,
.profile-links {
  padding-right: 20px;
  padding-left: 20px;
}

.bio-text {
  grid-area: bio;
}

.profile-links {
  grid-area: links;
  text-align: center;
}

.profile-wrap {
  grid-area: portrait;
  padding: 20px;
}

.profile-link {
  display: block;
}

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

.profile-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid #dddddd;
  border-radius: 50%;
  color: #777777;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.4;
  text-align: center;
}

.profile-photo {
  display: block;
  width: 86%;
  height: auto;
  aspect-ratio: 1 / 1;
  margin-right: auto;
  margin-left: auto;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 42%;
}

.news-list,
.award-list {
  margin-top: 12px;
  padding-left: 20px;
}

.news-list li + li {
  margin-top: 3px;
}

@media (max-width: 600px) {
  .bio-layout {
    grid-template-columns: 100%;
    grid-template-areas:
      "name"
      "portrait"
      "bio"
      "links";
  }

  .name,
  .bio-text,
  .profile-links {
    padding-right: 16px;
    padding-left: 16px;
  }

  .profile-wrap {
    padding: 14px 16px 4px;
  }

  .profile-link {
    width: min(152px, 100%);
    margin-right: auto;
    margin-left: auto;
  }

  .profile-photo {
    width: 100%;
  }
}

.todo-link {
  color: #777777;
}
