/* Classic academic homepage, following the provided Weebly PDF layout. */
:root { color-scheme: light; }
* { box-sizing: border-box; }
body { margin: 0; background: #fff; font-family: Arial, Helvetica, sans-serif; color: #383838; }
a { color: #505050; text-decoration: none; }
a:hover, a:focus-visible { color: #172c42; text-decoration: underline; text-underline-offset: 3px; }
.site-top { text-align: center; padding: 54px 22px 0; }
.site-name { display: inline-block; font-size: 30px; font-weight: 400; letter-spacing: 1.5px; line-height: 1.2; }
.site-top nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 31px; margin-top: 27px; }
.site-top nav a { color: #999; font-size: 11px; line-height: 1.3; text-transform: uppercase; letter-spacing: 1.9px; }
.site-top nav a.selected, .site-top nav a:hover { color: #444; }
.home-columns { width: min(1130px, calc(100% - 72px)); margin: 65px auto 86px; display: grid; grid-template-columns: 210px minmax(0,1fr); gap: 45px; align-items: start; }
.profile-sidebar { padding-top: 4px; font-size: 15px; line-height: 1.62; }
.portrait { display: block; width: min(100%, 190px); height: auto; margin: 0 0 19px; border: 0; }
.contact { display: flex; flex-direction: column; align-items: flex-start; }
.contact strong { font-weight: 600; }
.contact .links-title { margin-top: 9px; }
.contact a { overflow-wrap: anywhere; }
.bio { min-width: 0; font-size: 17px; line-height: 1.68; }
.bio p { margin: 0 0 26px; }
.bio p:last-child { margin-bottom: 0; }
.bio a { color: #454545; text-decoration: underline; text-decoration-color: #b7b7b7; text-underline-offset: 3px; }
.bio a:hover { color: #125587; text-decoration-color: currentColor; }
@media (max-width: 700px) {
  .site-top { padding-top: 32px; }
  .site-name { font-size: 28px; }
  .site-top nav { gap: 12px 20px; margin-top: 22px; }
  .site-top nav a { font-size: 10px; }
  .home-columns { width: min(100% - 38px, 520px); grid-template-columns: 1fr; gap: 30px; margin-top: 42px; margin-bottom: 50px; }
  .profile-sidebar { display: grid; grid-template-columns: minmax(110px, 160px) minmax(0,1fr); gap: 20px; align-items: start; }
  .portrait { margin: 0; }
  .contact { font-size: 13px; }
  .bio { font-size: 16px; line-height: 1.68; }
  .bio p { margin-bottom: 22px; }
}
@media (max-width: 375px) {
  .profile-sidebar { grid-template-columns: 120px minmax(0,1fr); gap: 14px; }
  .site-top nav { gap: 10px 14px; }
}
