body[data-layout=member] main > section:has(> .float) {
  display: grid;
  grid-template-columns: 220px minmax(0, 40rem);
  column-gap: 64px;
  justify-content: start;
  align-items: start;
}

body[data-layout=member] main > section:not(:has(> .float)) .lang-en,
body[data-layout=member] main > section:not(:has(> .float)) .lang-zh {
  max-width: 46rem;
}

body[data-layout=member] .float {
  float: none;
  max-width: none;
  margin: 0;
  grid-column: 1;
  grid-row: 1/span 8;
}

body[data-layout=member] main > section > :not(.float) {
  grid-column: 2;
}

body[data-layout=member] .lang-en p,
body[data-layout=member] .lang-zh p {
  max-width: none;
}

body[data-layout=member] .button {
  margin: 0 22px 0 0;
}

.member-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 8px;
}

body[data-layout=post] main > section {
  padding-left: max(24px, (100% - 740px) / 2);
  padding-right: max(24px, (100% - 740px) / 2);
}

body[data-layout=post] h1 {
  max-width: none;
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  line-height: 1.15;
  text-align: left;
}

body[data-layout=post] main > section p,
body[data-layout=post] main > section:first-of-type:has(> h1:first-child) p {
  max-width: none;
  color: var(--text);
  font-size: 1.05rem;
}

body[data-layout=post] main > section:first-of-type:has(> h1:first-child) {
  padding-bottom: 8px;
}

.tags {
  justify-content: flex-start;
}

.tag {
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 500;
}

.tag:hover,
.tag[data-active] {
  background: transparent;
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

form {
  justify-content: flex-start;
}

.search-box {
  width: min(100%, 28rem);
  height: auto;
}

.search-box button {
  color: var(--muted);
}

@media (max-width: 760px) {
  body[data-layout=member] main > section:has(> .float) {
    grid-template-columns: 1fr;
  }
  body[data-layout=member] .float,
  body[data-layout=member] main > section > :not(.float) {
    grid-column: 1;
    grid-row: auto;
  }
}
.emo-frame {
  display: block;
  width: 100%;
  height: 640px;
  margin: 28px 0 8px;
  border: 0;
  background: transparent;
}

.lab-video,
.lab-still {
  margin: 28px 0 0;
}

.lab-video video,
.lab-still img {
  display: block;
  width: 100%;
  max-height: 640px;
  object-fit: cover;
  background: #f3f3f6;
}

.lab-video figcaption,
.lab-still figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.lab-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
  margin-top: 8px;
}

.lab-split .lab-video,
.lab-split .lab-still {
  margin: 0;
}

.lab-split video,
.lab-split img {
  height: 460px;
  object-fit: cover;
  object-position: center 18%;
}

@media (max-width: 800px) {
  .emo-frame {
    height: 980px;
  }
  .lab-split {
    grid-template-columns: 1fr;
  }
  .lab-split video,
  .lab-split img {
    height: auto;
    max-height: 520px;
  }
}
body[data-layout=default] main > section > .lang-en:has(> p:nth-of-type(2)),
html[data-lang=zh] body[data-layout=default] main > section > div.lang-zh:has(> p:nth-of-type(2)) {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 56px;
  align-items: start;
}

body[data-layout=default] main > section > .lang-en:has(> p:nth-of-type(2)) > p,
body[data-layout=default] main > section > .lang-zh:has(> p:nth-of-type(2)) > p {
  max-width: none;
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  gap: 48px 72px;
  align-items: end;
  margin-top: 28px;
}

.contact-layout p {
  max-width: none;
}

main > section:first-of-type:has(> h1) .contact-layout > div:last-child p {
  max-width: none;
  color: var(--text);
  font-size: 1.02rem;
}

.contact-layout a[href^="mailto:"] {
  font-family: var(--heading);
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.contact-layout p:has(a[href^="mailto:"]) {
  margin-bottom: 18px;
}

@media (max-width: 860px) {
  body[data-layout=default] main > section > .lang-en:has(> p:nth-of-type(2)),
  html[data-lang=zh] body[data-layout=default] main > section > div.lang-zh:has(> p:nth-of-type(2)) {
    grid-template-columns: 1fr;
    row-gap: 1rem;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .contact-layout a[href^="mailto:"] {
    font-size: 1.35rem;
  }
}
.advisor {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: 12px 72px;
  align-items: start;
  margin-top: 28px;
}

.advisor-photo {
  display: block;
  width: 168px;
  margin: 0 0 22px;
}

.advisor-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  border-radius: 999px;
}

.advisor-name {
  margin: 0 0 8px;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.advisor-name a {
  color: inherit;
  text-decoration: none;
}

main > section:first-of-type:has(> h1:first-child) .advisor p {
  max-width: none;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.75;
}

main > section:first-of-type:has(> h1:first-child) .advisor .advisor-kicker,
main > section:first-of-type:has(> h1:first-child) .advisor .advisor-role,
main > section:first-of-type:has(> h1:first-child) .advisor .advisor-meta {
  color: var(--muted);
}

main > section:first-of-type:has(> h1:first-child) .advisor .advisor-kicker {
  font-size: 0.95rem;
}

.advisor-kicker {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.advisor-role,
.advisor-meta {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.advisor-meta {
  margin-top: 16px;
}

.advisor-bio p {
  margin: 0 0 0.95rem;
}

.advisor-bio p:last-child {
  margin-bottom: 0;
}

@media (max-width: 860px) {
  .advisor {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/*# sourceMappingURL=pages.css.map */