.hero {
  align-items: stretch;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: clamp(30px, 6vw, 90px);
}

.hero-copy {
  align-self: center;
}

.hero-biography {
  max-width: 720px;
  color: #ebedef;
  font-size: 14px;
  line-height: 1.8;
}

.hero-biography p {
  margin: 0 0 16px;
}

.hero-biography p:first-child {
  color: #f6b27f;
  font-size: 19px;
  font-weight: 700;
}

.professor-portrait {
  border-left: 0;
  padding: 0;
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: #d5d7d5;
}

.professor-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

.professor-portrait div {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 20px 25px;
  min-width: 180px;
  background: rgba(22, 31, 41, .91);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero .professor-portrait {
    display: block;
    order: -1;
    min-height: min(74vh, 560px);
  }
}

@media (max-width: 520px) {
  .hero-biography {
    font-size: 13px;
  }

  .professor-portrait {
    min-height: 420px;
  }
}

.guest-more {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--orange);
  cursor: pointer;
  font: 700 11px "Noto Sans TC", sans-serif;
}

.guest-modal {
  width: min(650px, calc(100% - 32px));
  max-height: min(720px, calc(100% - 50px));
  padding: 38px;
  border: 0;
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .32);
}

.guest-modal::backdrop {
  background: rgba(16, 24, 33, .72);
  backdrop-filter: blur(3px);
}

.guest-modal h3 {
  margin: 0 0 18px;
  font-size: 28px;
}

.guest-modal div {
  white-space: pre-wrap;
  line-height: 1.9;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 30px;
  cursor: pointer;
}

.member-note {
  max-width: 720px;
  color: var(--muted);
  font-size: 13px;
}

.member-table code {
  display: block;
  min-width: 260px;
  color: #526170;
  font-size: 11px;
  word-break: break-all;
}

.member-actions {
  min-width: 230px;
}

.member-actions > form {
  margin-bottom: 10px;
}

.member-actions .button {
  min-height: 34px;
  padding: 0 12px;
  font-size: 12px;
}
