/* Academic homepage stylesheet */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fff;
  color: #000;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 18px;
}

b,
h1,
h2 {
  font-weight: 700;
}

a {
  color: #0051c9;
  text-decoration: none;
}

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

.a_more {
  color: #666;
}

.container {
  width: 680px;
  margin: 0 auto;
  text-align: left;
}

.intro {
  display: flow-root;
  width: 100%;
  margin-top: 3.33em;
}

.intro h1 {
  margin: 0 0 1em;
  font-size: 1.75em;
}

.intro img {
  float: right;
  width: 12.5em;
  height: 12.5em;
  margin: 0 0 1.25em 1.25em;
  border: 0;
  object-fit: cover;
}

.intro p {
  margin-top: 0;
}

.profile-links {
  white-space: normal;
}

h2 {
  display: block;
  width: 100%;
  margin: 2.5em 0 0.5em;
  font-size: 1.25em;
}

.text-section,
.publications {
  display: flow-root;
  width: 100%;
}

.list-item {
  margin-bottom: 10px;
}

.date {
  float: right;
}

.detail {
  padding-left: 1.4em;
  color: #444;
}

.custom-bullet::before {
  content: "\00a0\00b7\00a0";
  font-size: 20px;
  line-height: 20px;
  vertical-align: middle;
}

.item {
  display: flex;
  width: 100%;
  gap: 1.25em;
  align-items: flex-start;
  margin-top: 1.5em;
}

.media {
  display: block;
  flex: 0 0 12.5em;
  width: 12.5em;
  height: auto;
  border: 0;
  background: transparent;
  color: #444;
  text-decoration: none;
}

.media img {
  width: 100%;
  height: auto;
  border: 0;
}

.item p {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

.item p i {
  font-weight: 400;
}

.award {
  color: #0051c9;
}

.note {
  margin-top: 1.5em;
  color: #595959;
  font-size: 11px;
}

ul {
  padding-left: 2em;
}

.outro {
  display: block;
  width: 100%;
  margin: 3.33em 0;
  text-align: right;
  font-size: 10px;
  font-style: italic;
}

@media only screen and (max-width: 720px) {
  body {
    font-size: 14px;
    line-height: 1.55;
    -webkit-text-size-adjust: 100%;
  }

  .container {
    width: calc(100% - 28px);
  }

  .intro {
    margin-top: 1.5em;
  }

  .intro img {
    width: 28%;
    height: auto;
    aspect-ratio: 1;
    margin-left: 1em;
  }

  .item {
    gap: 1em;
  }

  .media {
    flex-basis: 28%;
    width: 28%;
    height: auto;
  }

  .item p {
    width: 68%;
  }

  .date {
    float: none;
    display: block;
    margin-left: 1.4em;
    color: #555;
  }
}

@media only screen and (max-width: 480px) {
  .item {
    display: grid;
    grid-template-columns: 31% minmax(0, 1fr);
  }

  .media {
    width: 100%;
  }

  .item p {
    width: auto;
  }
}
