/* A compact research masthead with a clear author key and section navigation. */
.research-page .research-section { padding-top:48px; }
.research-masthead {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  grid-template-areas:'kicker' 'title' 'legend' 'contents';
  column-gap:64px;
  margin-bottom:40px;
}
.research-kicker {
  grid-area:kicker;
  margin:0 0 12px;
  color:var(--muted);
  font:600 13px/1.5 var(--ui-font);
  letter-spacing:.15em;
  text-transform:uppercase;
}
.research-masthead h1 {
  grid-area:title;
  color:var(--ink);
  font:500 clamp(52px,6vw,76px)/1.02 var(--heading-font);
  letter-spacing:-.045em;
}
#publications .research-masthead .author-legend {
  grid-area:legend;
  justify-content:flex-start;
  gap:12px 28px;
  margin:26px 0 0;
  color:var(--ink);
  font-size:16px;
  font-weight:700;
}
.research-contents {
  grid-area:contents;
  display:flex;
  flex-wrap:wrap;
  gap:8px 32px;
  margin-top:32px;
  padding-top:18px;
  border-top:1px solid var(--line);
}
.research-contents a {
  display:inline-flex;
  align-items:center;
  gap:12px;
  min-height:44px;
  color:var(--ink);
  font:500 16px/1.5 var(--ui-font);
  text-decoration:none;
}
.research-contents a:hover { color:var(--person-link); text-decoration:underline; }
.research-page .research-group > .research-subtitle,
.research-page #main > #service > .research-subtitle {
  position:static;
  display:flex;
  align-items:baseline;
  gap:16px;
  margin:0 0 26px;
  padding:0 0 16px;
  border:0;
  border-bottom:1px solid var(--line);
  border-radius:0;
  background:none;
  box-shadow:none;
  color:var(--ink);
  font:600 27px/1.3 var(--font);
  letter-spacing:-.025em;
}
.research-page .research-subtitle,.research-page .pub { scroll-margin-top:16px; }
.research-page .research-subtitle::after { display:none; }
.research-section-count {
  margin-left:auto;
  color:var(--muted);
  font:400 14px/1.5 var(--ui-font);
  letter-spacing:0;
}
.research-page .research-group + .research-group { margin-top:72px; }
.research-page #service { padding:72px 0 56px; border-top:0; }

/* Use the whole text column, with natural word spacing and a shared left edge. */
.research-page .pub__desc {
  width:100%;
  max-width:none;
  text-align:left;
  text-wrap:pretty;
}
.research-page .pub__desc strong { color:var(--ink); font-weight:600; }

/* Conference labels stay plain; only Oral retains its hover glow. */
.research-page .pub__venue .conference-label { display:inline-block; white-space:nowrap; }
@media(max-width:760px) {
  .research-page .research-section { padding-top:30px; }
  .research-masthead {
    grid-template-columns:minmax(0,1fr);
    grid-template-areas:'kicker' 'title' 'legend' 'contents';
    margin-bottom:36px;
  }
  .research-kicker { font-size:11px; margin-bottom:10px; }
  .research-masthead h1 { font-size:46px; }
  #publications .research-masthead .author-legend { margin-top:18px; gap:8px 16px; font-size:14px; }
  .research-contents { gap:4px 24px; margin-top:24px; padding-top:12px; }
  .research-contents a { gap:8px; font-size:15px; }
  .research-page .research-group > .research-subtitle,
  .research-page #main > #service > .research-subtitle { gap:12px; margin-bottom:20px; padding-bottom:12px; font-size:23px; }
  .research-section-count { font-size:12px; }
  .research-page .research-group + .research-group { margin-top:48px; }
  .research-page #service { padding-top:48px; }
}
