/* A continuous academic homepage with the site's existing profile sidebar. */
.homepage-shell .profile-card {
  padding: 24px 16px 18px;
  border: 1px solid #e5eaf2;
  border-radius: 20px;
  background: linear-gradient(155deg, #fff5f9 0, #f5f9ff 105px, #fff 230px);
  box-shadow: 0 8px 28px rgba(28, 55, 83, .06);
  color: #173e59;
}
.profile-card__identity { text-align: center; }
.profile-card__portrait { width: 132px; height: 132px; margin: 0 auto 16px; padding: 5px; border: 1px solid #eadfe9; border-radius: 50%; background: #fff; box-shadow: 0 4px 16px rgba(100, 80, 110, .07); }
.homepage-shell .profile-card__portrait img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.homepage-shell .profile-card__name { margin: 0 0 9px; color: #173e59; font-size: 23px; font-weight: 700; line-height: 1.3; letter-spacing: -.03em; }
.homepage-shell .profile-card__role { display: inline-block; margin: 0; padding: 4px 10px; border: 1px solid #e3e7f1; border-radius: 20px; background: #f1f4fa; color: #536483; font-size: 11px; font-weight: 600; line-height: 1.4; }
.homepage-shell .profile-card__motto { margin: 11px 0 0; color: #73808c; font-size: 12px; line-height: 1.6; }
.profile-card__facts { display: grid; gap: 10px; list-style: none; padding: 18px 2px; margin: 18px 0 14px; border-top: 1px solid #e9edf3; border-bottom: 1px solid #e9edf3; }
.homepage-shell .profile-card__facts li { display: flex; align-items: center; gap: 10px; margin: 0; color: #617183; font-size: 12px; line-height: 1.5; }
.profile-card__facts i { width: 16px; flex: 0 0 16px; text-align: center; color: #7b8ca3; }
.profile-card__links { display: grid; gap: 7px; }
.profile-card__link { display: flex; align-items: center; gap: 9px; min-height: 39px; padding: 8px 10px; border: 1px solid #e8edf3; border-radius: 10px; background: #f9fbfd; color: #36546d; font-size: 12px; font-weight: 500; line-height: 1.5; text-decoration: none; transition: background .16s ease, border-color .16s ease, color .16s ease; }
.profile-card__link > i { display: inline-flex; align-items: center; justify-content: center; width: 17px; flex: 0 0 17px; font-size: 15px; color: #5e7895; }
.profile-card__link--email { background: #fcf1f6; border-color: #f0dfe8; color: #a33769; }
.profile-card__link--email > i { color: #bd5485; }
.profile-card__arrow { margin-left: auto; color: #96a3b2; font-size: 13px; }
.profile-card__link:hover { border-color: #d5deea; background: #edf3fa; color: #173e59; text-decoration: none; }
.profile-card__link--email:hover { border-color: #e8c6d7; background: #f8e5ef; color: #942c5b; }
.profile-card__link:focus-visible { outline: 3px solid #417db4; outline-offset: 3px; }
@media (min-width: 925px) {
  .homepage-shell > .sidebar { padding-top: 0; padding-bottom: 18px; overflow-x: hidden; }
}
@media (min-width: 1024px) {
  .homepage-shell > .sidebar { top: 100px; height: auto; max-height: calc(100vh - 110px); }
}
@media (max-width: 924px) {
  .homepage-shell > .sidebar { position: static; float: none; width: 100%; height: auto; padding: 0; margin-bottom: 30px; }
  .homepage-shell .profile-card { padding: 20px; border-radius: 16px; }
  .profile-card__identity { display: flex; align-items: center; gap: 18px; text-align: left; }
  .profile-card__portrait { width: 80px; height: 80px; flex: 0 0 80px; margin: 0; padding: 3px; }
  .homepage-shell .profile-card__name { font-size: 22px; margin-bottom: 7px; }
  .homepage-shell .profile-card__motto { margin-top: 7px; }
  .profile-card__facts { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 13px 0; margin: 16px 0 12px; }
  .profile-card__links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-card__link { min-height: 44px; padding: 8px; gap: 6px; }
  .profile-card__arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) { .profile-card__link { transition: none; } }
.homepage { color: #173e59; }
.homepage [hidden] { display: none !important; }
.homepage-section, .homepage .publication-card { scroll-margin-top: 90px; }
.homepage-section { margin-bottom: 48px; }
.homepage h1 { margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid #e9edf2; font-size: 27px; line-height: 1.4; }
.homepage .homepage-section__title { margin: 0 0 22px; padding-bottom: 12px; border-bottom: 1px solid #e9edf2; color: #173e59; font-size: 24px; line-height: 1.4; }
.homepage-bio { color: #384b58; font-size: 16px; line-height: 1.95; }
.homepage-bio p { margin: 0; }
.homepage-bio a, .homepage-bio strong { color: #173e59; }
.homepage a:hover img { box-shadow: none; }
.homepage .publications__heading { margin-top: 26px; font-size: 19px; }
.publication-card__abstract { margin-top: 13px; color: #536575; font-size: 12px; line-height: 1.8; }
.publication-card__abstract summary { width: fit-content; color: #385a73; cursor: pointer; }
.publication-card__abstract p { margin: 12px 0 0; }
.publication-card__citation { overflow-wrap: anywhere; }
.homepage-education { list-style: none; margin: 0; padding: 0; }
.homepage-education li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 22px; margin: 0; padding: 22px 0; border-bottom: 1px solid #edf0f4; }
.homepage-education li:last-child { border: 0; }
.homepage-education__date { padding-top: 2px; color: #647582; font-size: 14px; }
.homepage-education h3 { margin: 0 0 6px; font-size: 17px; line-height: 1.6; }
.homepage-education p { margin: 0; color: #536575; font-size: 14px; line-height: 1.8; }
.homepage-awards { list-style: none; margin: 0; padding: 0; }
.homepage-awards li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 22px; padding: 18px 0; font-size: 16px; line-height: 1.8; }
.homepage-awards__year { color: #647582; font-size: 14px; }
.homepage :is(button, a, summary):focus-visible { outline: 3px solid #417db4; outline-offset: 4px; }
@media (max-width: 760px) {
  .homepage h1 { font-size: 24px; }
  .homepage-bio { font-size: 15px; }
  .homepage-section { margin-bottom: 36px; }
  .homepage-education li { grid-template-columns: minmax(0, 1fr); gap: 7px; }
  .homepage-awards li { grid-template-columns: minmax(0, 1fr); gap: 7px; }
}
