.post-container { --research-ink: #242b34; --research-muted: #626c78; --research-blue: #345b80; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif; }

header.intro-header { background-position: center 44%; margin-bottom: 32px; }
header.intro-header .site-heading { padding: 100px 0 62px; text-align: center; }
header.intro-header .site-heading h1 { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif; font-size: 56px; font-weight: 600; letter-spacing: -1.5px; }
header.intro-header .site-heading .subheading { font-size: 17px; line-height: 1.6; opacity: .85; }
.post-container > h5 { color: var(--research-ink); font-size: 21px; font-weight: 600; margin: 40px 0 18px; }
.post-container > h5:first-of-type { margin-top: 0; }
.post-container a { color: var(--research-blue); }
.post-container > h5:not(:first-of-type) { padding-top: 28px; border-top: 1px solid #e5e8ed; }
.post-container .research-detail-list { list-style: none; padding: 0; margin: 0; }
.post-container .research-detail-list li { margin-bottom: 26px; }
.post-container .research-detail-list li:last-child { margin-bottom: 0; }
.post-container .research-detail-list h3 { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif; color: var(--research-ink); font-weight: 600; font-size: 19px; line-height: 1.4; margin: 0 0 8px; letter-spacing: -.25px; }
.post-container .research-detail-list h3 a { color: var(--research-ink); text-decoration: none; }
.post-container .research-detail-list h3 a:hover { color: var(--research-blue); text-decoration: underline; text-underline-offset: 4px; }
.post-container .research-detail-list p { font-size: 14px; line-height: 1.65; color: #505a67; margin: 0 0 6px; }
.post-container .research-detail-list .research-detail-meta { font-size: 13px; color: var(--research-muted); }

.research-topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.research-topics span { font-size: 13px; color: #345b80; background: #f0f3f7; padding: 6px 12px; border-radius: 5px; }
.publication-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 15px 0 4px; }
.post-container .publication-nav a { font-size: 13px; color: #626c78; padding: 4px 9px; text-decoration: none; border-radius: 4px; }
.post-container .publication-nav a:hover, .post-container .publication-nav a:focus-visible { background: #eef2f7; color: #345b80; }
.publication-year { scroll-margin-top: 28px; }
.post-container li { overflow-wrap: anywhere; }
.post-container li span { min-width: 0; overflow-wrap: anywhere; }

.research-publications { --ink: #242b34; --muted: #626c78; --accent: #345b80; --rule: #e5e8ed; }
.post-container .publication-year { display: grid; grid-template-columns: 66px minmax(0, 1fr); gap: 26px; padding-top: 28px; }
.post-container .publication-year + .publication-year { border-top: 1px solid var(--rule); }
.post-container .publication-year h2 { margin: 0; padding-top: 2px; font-size: 18px; line-height: 1.4; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--muted); letter-spacing: -.5px; }
.post-container .publication-list { list-style: none; padding: 0; margin: 0; }
.post-container .publication-entry { margin: 0 0 26px; text-align: left; overflow-wrap: break-word; }
.post-container .publication-title { margin: 0 0 8px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif; font-size: 19px; line-height: 1.5; font-weight: 600; letter-spacing: -.25px; }
.post-container .publication-title a { color: var(--ink); text-decoration: none; }
.post-container .publication-title a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.post-container .publication-entry p { margin: 0 0 6px; line-height: 1.55; }
.post-container .publication-authors { font-size: 14px; color: #505a67; line-height: 1.65; }
.post-container .publication-authors strong { color: var(--ink); font-weight: 600; }
.post-container .publication-venue { font-size: 13px; color: var(--muted); }
.post-container .publication-links { font-size: 12px; padding-top: 3px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.post-container .publication-links a, .post-container .publication-label { display: inline-block; padding: 2px 9px; margin-right: 0; border: 1px solid #cdd7e2; border-radius: 4px; color: var(--accent); background: #fff; font-weight: 500; text-decoration: none; }
.post-container .publication-links a:visited { color: var(--accent); }
.post-container .publication-links a:hover, .post-container .publication-links a:focus-visible { color: var(--accent); border-color: #cdd7e2; background: #eef2f7; text-decoration: none; }
.publication-title a:focus-visible, .publication-links a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
@media (max-width: 600px) {
  header.intro-header .site-heading { padding: 84px 0 42px; }
  header.intro-header .site-heading h1 { font-size: 40px; letter-spacing: -1px; }
  header.intro-header .site-heading .subheading { font-size: 14px; }
  .post-container > h5 { font-size: 19px; }
  header.intro-header { margin-bottom: 24px; }
  .post-container > h5 { margin-bottom: 16px; }
  .post-container > h5:not(:first-of-type) { margin-top: 32px; padding-top: 24px; }
  .research-topics { gap: 6px; }
  .research-topics span { font-size: 12px; padding: 5px 9px; }

  .post-container .publication-year { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: 24px; }
  .post-container .publication-year h2 { font-size: 20px; color: var(--accent); }
  .post-container .publication-title, .post-container .research-detail-list h3 { font-size: 18px; }
}

/* Pointer clicks should not retain the theme's keyboard focus ring. */
.post-container a:focus:not(:focus-visible) { outline: none; }
.post-container .publication-title a:focus:not(:focus-visible), .post-container .research-detail-list h3 a:focus:not(:focus-visible) { color: var(--research-ink); text-decoration: none; }
/* Match the homepage's centered reading width. */
@media (min-width: 992px) {
  body > .container:has(.research-publications) { width: calc(100% - 260px); max-width: 780px; padding-left: 15px; padding-right: 15px; }
  body > .container:has(.research-publications) > .postlist-container,
  body > .container:has(.research-publications) > .sidebar-container { width: 100%; margin-left: 0; padding-left: 0; padding-right: 0; }
}
