/* Two-column layout after the GitHub Pages "Minimal" theme */
body {
  margin: 0;
  padding: 50px;
  background: #fff;
  font: 16px/1.6 "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #595959;
  text-align: justify;
}
h1, h2, h3 { color: #222; margin: 0 0 16px; font-weight: 400; line-height: 1.2; }
h1 { font-size: 36px; margin-top: 4px; }
h2 { font-size: 24px; margin-top: 36px; }
b { color: #222; }
p, ul { margin: 0 0 16px; }
ul { padding-left: 20px; }
li { margin-bottom: 8px; }
a { color: #267cb9; text-decoration: none; }
a:hover { color: #069; text-decoration: underline; }

.wrapper { max-width: 960px; margin: 0 auto; display: flex; gap: 60px; }
header { flex: 0 0 270px; }
header img { display: block; width: 270px; height: 270px; object-fit: cover; margin-bottom: 20px; }
section { flex: 1; min-width: 0; padding-bottom: 50px; }
.degrees { font-size: 15px; line-height: 1.5; text-align: left; }

.buttons { list-style: none; padding: 0; margin: 24px 0 0; }
.buttons li { margin-bottom: 10px; }
.buttons a {
  display: block;
  padding: 10px 0;
  border: 1px solid #267cb9;
  border-radius: 5px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: #267cb9;
}
.buttons a:hover { background: #267cb9; color: #fff; text-decoration: none; }

.paper { margin-bottom: 8px; }
.abstract { font-size: 15px; }
.paper-abstract { margin-top: 4px; }
.paper-abstract summary { display: inline-block; list-style: none; color: #267cb9; cursor: pointer; }
.paper-abstract summary::-webkit-details-marker { display: none; }
.paper-abstract summary:hover { color: #069; text-decoration: underline; }
.paper-abstract summary:focus-visible { outline: 2px solid #267cb9; outline-offset: 3px; }
.paper-abstract[open] summary { margin-bottom: 8px; }
.paper-abstract .abstract { margin-bottom: 16px; }

@media (max-width: 960px) {
  body { padding: 24px 16px; }
  .wrapper { max-width: 640px; flex-direction: column; gap: 0; }
  header, section { display: contents; }
  section h1 { order: -1; }
  header img { width: 180px; height: 180px; }
  .buttons { display: flex; gap: 10px; }
  .buttons li { flex: 1; }
}
