/* Critical navigation fallback. Keep this file dependency-free so the menu
   remains visible even when a Quarto renderer skips SCSS theme compilation. */
#quarto-header {
  position: fixed !important;
  z-index: 1030 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

#quarto-header .navbar {
  position: relative;
  background: linear-gradient(115deg, #102a43 0%, #173d5a 52%, #145267 100%) !important;
  box-shadow: 0 0.35rem 1.1rem rgba(8, 28, 45, 0.22);
}

#quarto-header .navbar::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #5fc7c1, #f6c85f 52%, #5fc7c1);
  opacity: 0.8;
  content: "";
  pointer-events: none;
}

#quarto-header .navbar .nav-link,
#quarto-header .navbar .navbar-brand {
  color: #fff !important;
}

/* Footer echoes the navigation's deep-water palette and keeps all metadata links readable. */
.footer {
  position: relative;
  overflow: hidden;
  margin-top: 3rem;
  background: radial-gradient(circle at 82% 0%, rgba(95, 199, 193, .16), transparent 34%), linear-gradient(115deg, #102a43 0%, #173d5a 52%, #145267 100%);
  color: #dbecef;
}
.footer::before { position: absolute; top: 0; right: 0; left: 0; height: 3px; background: linear-gradient(90deg, #5fc7c1, #f6c85f 52%, #5fc7c1); content: ""; opacity: .85; }
.footer .nav-footer { position: relative; z-index: 1; border-top-color: transparent !important; }
.footer a { color: #f4ffff !important; text-decoration-color: rgba(95, 199, 193, .7); }
.footer a:hover, .footer a:focus-visible { color: #f6c85f !important; }
.footer .footer-muted, .footer .footer-stats { color: rgba(219, 236, 239, .78); }

/* Keep the homepage hero and carousel in one equal-height feature row. */
body:has(.home-feature) .home-feature {
  align-items: stretch;
}

body:has(.home-feature) main.content > .grid {
  max-width: 1100px;
  margin-inline: auto;
}

body:has(.home-feature) .home-feature > .home-latest-panel,
body:has(.home-feature) .home-feature .home-carousel-track,
body:has(.home-feature) .home-feature .home-carousel-slide {
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

/* The heading belongs to the latest panel; let the carousel fill the
   remaining space instead of adding a second full-height box below it. */
body:has(.home-feature) .home-feature > .home-latest-panel { height: 100%; }
body:has(.home-feature) .home-feature .home-carousel { height: auto; }

body:has(.home-feature) .home-feature .home-latest-panel {
  display: flex;
  flex-direction: column;
}

body:has(.home-feature) .home-feature .home-carousel {
  position: relative;
  flex: 1 1 auto;
}

body:has(.home-feature) .home-carousel-controls {
  position: absolute;
  right: 0;
  bottom: 1rem;
  left: 0;
  z-index: 4;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

body:has(.home-feature) .home-carousel-dots {
  display: flex;
  gap: 0.5rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
  pointer-events: auto;
}

body:has(.home-feature) .home-carousel-dot {
  width: 0.65rem;
  height: 0.65rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

body:has(.home-feature) .home-carousel-dot.is-active { background: #fff; }
body:has(.home-feature) .home-carousel-dot:hover,
body:has(.home-feature) .home-carousel-dot:focus-visible { transform: scale(1.2); }

body:has(.home-feature) .home-carousel-link { margin-top: 0.9rem; padding-top: 0.25rem; }

body:has(.home-feature) .home-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 82% 18%, rgba(96, 203, 195, 0.3), transparent 34%), radial-gradient(circle at 12% 92%, rgba(74, 128, 190, 0.24), transparent 38%), linear-gradient(135deg, #102a43 0%, #173d5a 54%, #145267 100%);
}

body:has(.home-feature) .home-hero::after {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.18) 0 1px, transparent 1.5px);
  background-size: 3.2rem 3.2rem;
  content: "";
  opacity: 0.18;
  pointer-events: none;
}

body:has(.home-feature) .home-hero > * { position: relative; z-index: 1; }

/* Service tools follow the same left gutter as publication pages and use
   photo-like vertical cards rather than a flat list of links. */
body:has(.service-page) .service-grid {
  display: block;
}

body:has(.service-page) .service-grid > p {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Keep inner page shells on the same 900px measure as publications. */
body:has(.team-page) .team-page,
body:has(.service-page) .service-page {
  max-width: 900px;
  margin-inline: auto;
}

body:has(.service-page) .service-card {
  display: flex;
  flex: 1 1 calc(25% - 0.75rem);
  min-width: 180px;
  min-height: 8.5rem;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem;
  border: 1px solid #e9ecef;
  border-radius: 0.8rem;
  background: linear-gradient(145deg, #fff 0%, #f7f8fa 100%);
  color: #170c3a;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

body:has(.service-page) .service-card i { color: #ee6a24; font-size: 2.75rem; }
body:has(.service-page) .service-card span { font-family: Jost, sans-serif; font-size: 0.95rem; font-weight: 600; }
body:has(.service-page) .service-card:hover,
body:has(.service-page) .service-card:focus-visible {
  border-color: #ee6a24;
  box-shadow: 0 0.65rem 1.2rem rgba(23, 12, 58, 0.12);
  transform: translateY(-3px);
}

body:has(.contact-page) .contact-page { max-width: 900px; margin-inline: auto; }
body:has(.contact-page) .contact-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; margin-bottom: 2.25rem; }
body:has(.contact-page) .contact-card, body:has(.contact-page) .contact-columns > .contact-recruitment { margin: 0; padding: 1.25rem 1.4rem; border: 1px solid #e9ecef; border-radius: .85rem; background: rgba(255,255,255,.72); }
body:has(.contact-page) .contact-card h2 { color: #771c6d; font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
body:has(.contact-page) .contact-recruitment { border-left: 4px solid #ee6a24 !important; }
@media (max-width: 767px) { body:has(.contact-page) .contact-columns { grid-template-columns: 1fr; } }
body:has(.contact-page) .contact-recruitment { margin: 0; padding: 1.25rem 1.4rem; border: 1px solid #e9ecef !important; border-radius: .85rem; background: rgba(255,255,255,.72); }
body:has(.contact-page) .contact-recruitment h3 { margin-top: 0; color: #170c3a; }
body:has(.contact-page) .contact-recruitment p:last-child { margin-bottom: 0; }
body:has(.contact-page) .contact-recruitment a { color: #170c3a; font-family: Jost, sans-serif; font-weight: 650; }
body:has(.contact-page) .contact-map { overflow: hidden; margin-top: 1rem; border: 1px solid #e9ecef; border-radius: 0.8rem; box-shadow: 0 0.5rem 1.2rem rgba(23, 12, 58, 0.08); }
body:has(.contact-page) .contact-map iframe { display: block; width: 100%; height: 28rem; border: 0; background: #eef3f5; }
body:has(.contact-page) .contact-map-note { margin: .55rem 0 0; text-align: right; font-size: .82rem; }
body:has(.contact-page) .contact-map-note a { color: #170c3a; }

body:has(.service-page) .service-grid-compact .service-card { flex-basis: 100%; }

@media (max-width: 991.98px) {
  body:has(.service-page) .service-grid:not(.service-grid-compact) .service-card { flex-basis: calc(50% - 0.5rem); }
}

@media (max-width: 767.98px) {
  body:has(.service-page) .service-grid:not(.service-grid-compact) .service-card { flex-basis: 100%; }
}


/* Editorial section labels used by publications and research indexes. */
.research > h3 {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 2.4rem 0 1.15rem;
  padding: 0.7rem 0.9rem 0.72rem;
  border-left: 4px solid #ee6a24;
  border-radius: 0 0.5rem 0.5rem 0;
  background: linear-gradient(90deg, #f7f3f0 0%, rgba(247, 243, 240, 0.25) 72%, transparent 100%);
  color: #170c3a;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.research > h3::after {
  width: 2.5rem;
  height: 1px;
  background: rgba(238, 106, 36, 0.65);
  content: "";
}

/* Team cards: portrait-first presentation with a quiet information block. */
body:has(.team-page) .team-page .team-listing .list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}
body:has(.team-page) .team-page { counter-reset: team-section; }
body:has(.team-page) .team-group-photo { width: 100%; margin: 0 0 2.2rem; overflow: hidden; border: 1px solid #e9ecef; border-radius: 1rem; background: #eef3f5; box-shadow: 0 .6rem 1.8rem rgba(23, 12, 58, .08); }
body:has(.team-page) .team-group-photo img { display: block; width: 100%; max-height: 24rem; object-fit: cover; object-position: center; }
body:has(.team-page) .team-page > section:has(> .quarto-listing):not(:has(.team-card)) { display: none; }
body:has(.team-page) #TOC li:has(a[href="#博士后"]),
body:has(.team-page) #TOC li:has(a[href="#postdoctoral-fellows"]) { display: none; }
body:has(.team-page) .team-page > section { counter-increment: team-section; margin-top: 2.35rem; }
body:has(.team-page) .team-page > section > h2,
body:has(.team-page) .team-page > section > h3 {
  display: flex; align-items: center; gap: .75rem; margin: 0 0 1.1rem;
  color: #170c3a; font-size: clamp(1.15rem, 2vw, 1.4rem); letter-spacing: .01em;
}
body:has(.team-page) .team-page > section > h2::before,
body:has(.team-page) .team-page > section > h3::before {
  display: inline-grid; flex: 0 0 2rem; width: 2rem; height: 2rem; place-items: center;
  border: 1px solid rgba(32, 201, 151, .42); border-radius: .65rem;
  background: rgba(32, 201, 151, .1); color: #087f66; content: counter(team-section, decimal-leading-zero);
  font-family: Jost, sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: .04em;
}

body:has(.team-page) .team-card { min-width: 0; }
body:has(.team-page) .team-card-link { display: block; height: auto; color: inherit; text-decoration: none; }
body:has(.team-page) .team-card .card {
  overflow: hidden;
  height: auto;
  border: 1px solid #e4e8eb;
  border-radius: 0.9rem;
  background: #fff;
  box-shadow: 0 0.35rem 1rem rgba(23, 12, 58, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
body:has(.team-page) .team-card:hover .card,
body:has(.team-page) .team-card:focus-within .card {
  border-color: #5fc7c1;
  box-shadow: 0 0.75rem 1.5rem rgba(23, 12, 58, 0.13);
  transform: translateY(-3px);
}
body:has(.team-page) .team-card-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #edf1f3;
}
body:has(.team-page) .team-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 260ms ease;
}
body:has(.team-page) .team-card:hover .team-card-image img,
body:has(.team-page) .team-card:focus-within .team-card-image img { transform: scale(1.035); }
body:has(.team-page) .team-card-body { position: relative; min-height: 0; padding: 0.75rem 2rem 0.75rem 1rem; }
body:has(.team-page) .team-card-name { color: #212529; font-family: Jost, sans-serif; font-size: clamp(.82rem, 1.55vw, 1rem); font-weight: 650; line-height: 1.25; letter-spacing: -.015em; white-space: nowrap; }
body:has(.team-page) .team-card-role,
body:has(.team-page) .team-card-education { margin-top: 0.35rem; color: #6c757d; font-size: 0.8rem; line-height: 1.4; }
body:has(.team-page) .team-card-arrow { position: absolute; right: .85rem; bottom: .8rem; display: grid; width: 1.65rem; height: 1.65rem; place-items: center; border: 1px solid rgba(95, 199, 193, .45); border-radius: 50%; background: rgba(95, 199, 193, .12); color: #145267; font-size: .9rem; transition: background 180ms ease, color 180ms ease, transform 180ms ease; }
body:has(.team-page) .team-card:hover .team-card-arrow,
body:has(.team-page) .team-card:focus-within .team-card-arrow { background: #5fc7c1; color: #102a43; transform: translateX(2px); }

/* Publication rows reserve a quiet right rail for each graphical abstract. */
body:has(.research) .project { display: flex; align-items: stretch; gap: 1rem; }
body:has(.research) .publication-listing-main { min-width: 0; flex: 1 1 auto; }
body:has(.research) .publication-ga { display: flex; flex: 0 0 clamp(11rem, 30%, 18rem); align-items: center; justify-content: center; min-height: 7rem; padding: .55rem; border-left: 1px solid #e9ecef; background: #fbfcfc; }
body:has(.research) .publication-ga img { display: block; width: 100%; max-height: 9rem; object-fit: contain; }

body:has(.outcome) .outcome-entry { min-height: 15rem; align-items: stretch; }
body:has(.outcome) .outcome-entry .body { order: 1; min-width: 0; }
body:has(.outcome) .outcome-entry .logo { display: flex; flex: 0 0 clamp(18rem, 38%, 24rem); order: 2; align-items: center; justify-content: center; padding-left: 1rem; border-left: 1px solid #e9ecef; }
body:has(.outcome) .outcome-entry .logo img { display: block; width: 100%; max-height: 15rem; object-fit: contain; }

@media (max-width: 767.98px) {
  body:has(.outcome) .outcome-entry { min-height: 0; flex-direction: column; }
  body:has(.outcome) .outcome-entry .logo { order: 1; flex-basis: auto; min-height: 10rem; padding: 0 0 1rem; border-right: 0; border-bottom: 1px solid #e9ecef; border-left: 0; }
  body:has(.outcome) .outcome-entry .body { order: 2; }
}

@media (max-width: 991.98px) {
  body:has(.team-page) .team-page .team-listing .list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
  body:has(.research) .publication-ga { flex-basis: 9rem; }
  body:has(.team-page) .team-page .team-listing .list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Publication rows: fixed number, readable title, and a generous GA rail. */
body:has(.research) .project-list li.project { display: grid; grid-template-columns: 4rem minmax(0, 1fr) minmax(18rem, 36%); grid-template-areas: "number main ga" "meta meta meta"; align-items: start; column-gap: .8rem; row-gap: .8rem; }
body:has(.research) .project-list .publication-number { grid-area: number; float: none; min-width: 0; margin: .15rem 0 0; }
body:has(.research) .publication-listing-main { grid-area: main; }
body:has(.research) .publication-listing-title { margin: 0 0 .45rem; font-family: Jost, sans-serif; font-size: clamp(1.05rem, 1.8vw, 1.3rem); line-height: 1.25; }
body:has(.research) .publication-listing-title a { color: #212529; text-decoration: none; }
body:has(.research) .publication-listing-title a:hover, body:has(.research) .publication-listing-title a:focus-visible { color: #145267; text-decoration: underline; text-underline-offset: .16em; }
body:has(.research) .publication-listing-main .listing-pub-info { padding-left: 0; color: #6c757d; font-size: .9rem; line-height: 1.45; }
body:has(.research) .publication-listing-meta-line { margin: 0; color: #6c757d; font-size: .9rem; line-height: 1.4; }
body:has(.research) .publication-listing-main { display: flex; min-height: 11rem; align-self: stretch; flex-direction: column; }
body:has(.research) .publication-abstract-preview { display: -webkit-box; margin: auto 0 0; padding-top: .7rem; overflow: hidden; color: #6c757d; font-size: .84rem; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
body:has(.research) .publication-doi-icon { width: 1rem; height: 1rem; margin-right: .25rem; vertical-align: -.15rem; }
body:has(.research) .publication-ga { grid-area: ga; width: 100%; min-height: 11rem; padding: 0; border: 0; border-radius: 0; background: transparent; }
body:has(.research) .publication-ga-link { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; border-radius: .45rem; }
body:has(.research) .publication-ga-link:focus-visible { outline: 3px solid #f6c85f; outline-offset: 2px; }
body:has(.research) .publication-ga img { max-height: 13rem; border-radius: .85rem; }
body:has(.research) .publication-listing-meta { grid-area: meta; min-width: 0; }
body:has(.research) .publication-listing-meta .project-details-listing { margin-top: .6rem; }
@media (max-width: 991.98px) and (min-width: 768px) { body:has(.research) .project-list li.project { grid-template-columns: 3.8rem minmax(0, 1fr) 16rem; } }
@media (max-width: 767.98px) { body:has(.research) .project-list li.project { grid-template-columns: 4.5rem minmax(0, 1fr); grid-template-areas: "number main" "ga ga" "meta meta"; } body:has(.research) .publication-ga { min-height: 9rem; } }

/* News detail titles use the full content width and do not expose code tools. */
body:has(.blog-post) #title-block-header .quarto-title-banner,
body:has(.blog-post) #title-block-header .quarto-title { width: 100%; max-width: none; }
body:has(.blog-post) #title-block-header .quarto-title-banner { padding-inline: clamp(1.25rem, 4vw, 3rem); }
body:has(.blog-post) #title-block-header .title { width: 100%; max-width: none; font-size: clamp(1.55rem, 3.4vw, 2.7rem); line-height: 1.18; }
body:has(#title-block-header.quarto-title-block.publication-detail) #title-block-header .quarto-title-banner { width: 100%; max-width: none; padding-inline: clamp(1.25rem, 4vw, 3rem); background: #f3f1f6 !important; color: #771c6d !important; border-left: 4px solid #771c6d; }
body:has(#title-block-header.quarto-title-block.publication-detail) #title-block-header .quarto-title,
body:has(#title-block-header.quarto-title-block.publication-detail) #title-block-header .title { width: 100%; max-width: none; }
body:has(#title-block-header.quarto-title-block.publication-detail) #title-block-header { max-width: 900px; margin-inline: auto; }
body:has(#title-block-header.quarto-title-block.publication-detail) #title-block-header .quarto-title-banner { max-width: 100%; color: #102a43 !important; border-left: 0; border-radius: .8rem; }
body:has(#title-block-header.quarto-title-block.publication-detail) #title-block-header .title { font-size: clamp(1.45rem, 2.8vw, 2.35rem); line-height: 1.18; color: #102a43 !important; }
body:has(#title-block-header.quarto-title-block.publication-detail) #title-block-header .publication-back-nav { margin: 0 0 .55rem; padding-left: .15rem; font-size: .82rem; line-height: 1.2; }
body:has(#title-block-header.quarto-title-block.publication-detail) #title-block-header .publication-back-nav a { color: #6c757d; text-decoration: none; }
body:has(#title-block-header.quarto-title-block.publication-detail) #title-block-header .publication-back-nav a:hover,
body:has(#title-block-header.quarto-title-block.publication-detail) #title-block-header .publication-back-nav a:focus-visible { color: #145267; text-decoration: underline; text-underline-offset: .15em; }
body:has(#title-block-header.quarto-title-block.publication-detail) #title-block-header .quarto-title .haiku { margin: .45rem 0 0; font-size: .78rem; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body:has(#title-block-header.quarto-title-block.publication-detail) #title-block-header .quarto-title .quarto-categories { margin-top: .7rem; }

/* Shared interaction language: a restrained waterline, lift, and frosted
   highlight across all content cards. */
:where(.service-card, .team-card .card, .project, .outcome-card, .home-pillar, .news-card, .listing-box:not(.team-card)) {
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}
:where(.service-card, .team-card .card, .project, .outcome-card, .home-pillar, .news-card, .listing-box:not(.team-card)):hover,
:where(.service-card, .team-card .card, .project, .outcome-card, .home-pillar, .news-card, .listing-box:not(.team-card)):focus-within {
  border-color: #5fc7c1 !important;
  background-color: rgba(255, 255, 255, .78);
  box-shadow: 0 .7rem 1.4rem rgba(16, 42, 67, .12), 0 0 0 3px rgba(95, 199, 193, .1);
  transform: translateY(-3px);
  backdrop-filter: blur(8px) saturate(110%);
}

body:has(.home-feature) .home-carousel-link {
  margin-top: 0.9rem;
  padding-top: 0.25rem;
}

@media (min-width: 992px) {
  #quarto-header .navbar-collapse.collapse {
    display: flex !important;
    flex-basis: auto !important;
    visibility: visible !important;
  }

  #quarto-header .navbar-toggler {
    display: none !important;
  }
}

/* Refined navigation states: quiet inactive links, one clear waterline for
   the current page, and a visible keyboard focus ring. */
#quarto-header .navbar .navbar-nav .nav-link {
  position: relative;
  margin-inline: 0.12rem;
  padding: 0.55rem 0.8rem !important;
  border: 1px solid transparent;
  border-radius: 0.45rem;
  color: rgba(255, 255, 255, 0.78) !important;
  font-weight: 500;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

#quarto-header .navbar .navbar-nav .nav-link::before {
  display: none !important;
}

#quarto-header .navbar .navbar-nav .nav-link:hover {
  border-color: rgba(95, 199, 193, 0.28);
  background: rgba(95, 199, 193, 0.1);
  color: #fff !important;
  box-shadow: 0 .35rem .8rem rgba(8, 28, 45, .16), inset 0 0 0 1px rgba(255, 255, 255, .08);
  transform: translateY(-1px);
  backdrop-filter: blur(10px) saturate(120%);
}

#quarto-header .navbar .navbar-nav .nav-link.active,
#quarto-header .navbar .navbar-nav .nav-link[aria-current="page"] {
  border-color: rgba(95, 199, 193, 0.32);
  background: rgba(95, 199, 193, 0.16);
  color: #fff !important;
  font-weight: 650;
  box-shadow: inset 0 -2px #5fc7c1, 0 0.35rem 0.8rem rgba(8, 28, 45, 0.12);
  backdrop-filter: blur(10px);
}

#quarto-header .navbar .navbar-nav .nav-link:focus-visible {
  outline: 2px solid #f6c85f;
  outline-offset: 2px;
}

#quarto-header .navbar #languages-button {
  border: 1px solid rgba(95, 199, 193, 0.5);
  border-radius: 999px;
  background: rgba(95, 199, 193, 0.14);
  color: #fff;
  font-weight: 600;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
#quarto-header .navbar #languages-button:hover,
#quarto-header .navbar #languages-button:focus-visible {
  border-color: rgba(95, 199, 193, .82);
  background: rgba(95, 199, 193, .24);
  box-shadow: 0 .35rem .8rem rgba(8, 28, 45, .16), inset 0 0 0 1px rgba(255, 255, 255, .1);
  transform: translateY(-1px);
  backdrop-filter: blur(10px) saturate(120%);
}

/* Keep search and language controls together at the far right of the menu. */
#quarto-header .navbar-container { display: flex; align-items: center; }
#quarto-header .navbar-container > #quarto-search { order: 3; margin-left: .55rem; }
#quarto-header .navbar-container > #languages-links-parent,
#quarto-header .navbar-container > li.nav-item:has(#languages-links-parent) { order: 4; margin-left: .35rem; }
#quarto-header .navbar-container > li.nav-item:has(#languages-links-parent) { list-style: none; }
#quarto-header #languages-links-parent { margin-left: 0; }
#quarto-header #languages-links-parent .dropdown-menu { right: 0; left: auto; }
#quarto-header #navbarCollapse { order: 2; }
#quarto-header .navbar-toggler { order: 1; }
#quarto-header .navbar-brand-container { order: 0; }

@media (max-width: 991.98px) {
  #quarto-header .navbar-container { flex-wrap: wrap; }
  #quarto-header .navbar-container > #quarto-search { margin-left: auto; }
  #quarto-header #navbarCollapse { flex-basis: 100%; order: 5; }
}

.drwater-interactions { margin: 3rem auto 1rem; max-width: 900px; padding: 1.1rem 1.25rem; border: 1px solid #e2eaec; border-radius: 1rem; background: rgba(255,255,255,.62); backdrop-filter: blur(10px) saturate(115%); }
.drwater-interaction-actions { display: flex; gap: .65rem; flex-wrap: wrap; }
.drwater-interaction-actions button { border: 1px solid rgba(95,199,193,.45); border-radius: 999px; padding: .5rem .85rem; background: rgba(95,199,193,.1); color: #145267; font: inherit; cursor: pointer; transition: background 180ms ease, border-color 180ms ease, transform 180ms ease; }
.drwater-interaction-actions button:hover, .drwater-interaction-actions button:focus-visible, .drwater-interaction-actions button.is-liked { border-color: #5fc7c1; background: rgba(95,199,193,.25); transform: translateY(-2px); }
.drwater-interaction-actions em { font-style: normal; }
.drwater-comments { margin-top: 1rem; padding-top: .85rem; border-top: 1px solid rgba(95,199,193,.25); color: #52656b; font-size: .88rem; }
.drwater-comments p { margin: .35rem 0 0; }
.drwater-comments-mount { position: relative; z-index: 5; width: 100%; min-width: 0; pointer-events: auto; }
.drwater-comments-mount * { pointer-events: auto; }
.author-profile-link { color: inherit !important; font: inherit !important; letter-spacing: inherit; text-decoration: none; }
.author-profile-link:hover, .author-profile-link:focus-visible { color: inherit !important; text-decoration: underline; text-decoration-color: #5fc7c1; text-underline-offset: .15em; text-shadow: 0 0 .65rem rgba(95,199,193,.75); }
.drwater-meta-summary { width: 100%; max-width: 900px; margin: 1rem auto 1.25rem; color: #496273; font-size: .9rem; line-height: 1.5; }
body:has(.blog-post) #title-block-header > .drwater-meta-summary { width: 100%; max-width: none; margin-right: 0; margin-left: 0; box-sizing: border-box; }
.drwater-meta-row { display: flex; align-items: baseline; gap: .65rem; min-width: 0; margin: .35rem 0; text-align: left; }
.drwater-meta-details { flex-wrap: wrap; gap: .35rem .65rem; }
.drwater-meta-doi-link { display: inline-flex; align-items: center; gap: .28rem; color: inherit !important; text-decoration: none; }
.drwater-meta-doi-link img { width: 1rem; height: 1rem; }
.drwater-meta-doi-link:hover, .drwater-meta-doi-link:focus-visible { color: inherit !important; text-decoration: underline; text-underline-offset: .15em; }
.drwater-meta-label { flex: 0 0 auto; min-width: 3.2rem; color: #145267; font-weight: 650; }
.drwater-meta-value { min-width: 0; overflow-wrap: anywhere; }
.drwater-meta-doi .drwater-meta-label { display: inline-flex; align-items: center; gap: .3rem; }
.drwater-meta-doi .drwater-meta-label img { width: 1rem; height: 1rem; }
.drwater-meta-doi a { color: #145267; text-decoration-color: rgba(95,199,193,.65); }
.drwater-meta-authors a { color: inherit !important; text-decoration: none; }
.drwater-meta-authors a:hover, .drwater-meta-authors a:focus-visible { color: inherit !important; text-decoration: underline; text-decoration-color: #5fc7c1; text-underline-offset: .15em; text-shadow: 0 0 .65rem rgba(95,199,193,.75); }
@media (max-width: 767.98px) { .drwater-meta-summary { margin-top: .8rem; } .drwater-meta-row { gap: .45rem; } }
@media (min-width: 992px) { #quarto-margin-sidebar .drwater-interactions { position: sticky; top: 5rem; z-index: 10; width: 100%; max-width: 18rem; margin: 0 0 1rem; padding: .8rem; } #quarto-margin-sidebar .drwater-comments { margin-top: 0; padding-top: 0; border-top: 0; } #quarto-margin-sidebar .drwater-comments-mount { min-width: 0; width: 100%; } }
@media (max-width: 991.98px) { .drwater-interactions { width: 100%; max-width: 900px; } }
.publication-ga-hero { position: relative; display: flex; width: min(100%, 760px); align-items: center; justify-content: center; max-height: 19rem; min-height: 13rem; margin: 1.2rem auto 2rem; overflow: hidden; border: 0; border-radius: 0; padding: .35rem; background: transparent; box-shadow: none; }
.publication-ga-hero::after { display: none; }
.publication-ga-hero-accessible { position: relative; z-index: 1; display: block; width: 100%; max-width: 100%; height: auto; max-height: 18rem; object-fit: contain; border-radius: .85rem; }
.publication-abstract-layout { display: block; margin: 1.25rem 0 2rem; }
.publication-abstract-layout > section { display: block !important; min-width: 0; margin: 0; }
.publication-abstract-layout .publication-ga-hero { float: right; width: min(42%, 32rem); margin: 0 0 1rem 1.4rem; }
.publication-abstract-layout::after { display: table; clear: both; content: ""; }
.publication-ai-insight { display: grid; grid-template-columns: minmax(0,1fr) minmax(16rem,42%); gap: 1.25rem; align-items: stretch; margin: 1.1rem 0 1.4rem; padding: 1rem 1.15rem; border: 1px solid rgba(95,199,193,.22); border-radius: .9rem; background: linear-gradient(120deg, rgba(95,199,193,.08), rgba(255,255,255,.78)); }
.publication-ai-kicker { margin-bottom: .4rem; color: #145267; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.publication-ai-insight-copy p { margin: 0; color: #495057; font-size: .92rem; line-height: 1.6; }
.publication-ai-gallery { display: flex; gap: .55rem; align-items: center; justify-content: center; overflow-x: auto; }
.publication-ai-gallery figure { flex: 0 0 30%; min-width: 7rem; margin: 0; }
.publication-ai-gallery img { display: block; width: 100%; height: 7rem; object-fit: contain; border-radius: .5rem; background: rgba(255,255,255,.85); }
.publication-overview-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin: 1rem 0 1.5rem; }
.publication-overview-gallery.drwater-gallery { display: block; }
.publication-overview-gallery.drwater-gallery .drwater-gallery-slide img { height: 19rem; }
.publication-overview-gallery figure { margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
.publication-overview-gallery img { display: block; width: 100%; height: 9rem; object-fit: contain; }
.publication-overview-gallery figcaption { margin-top: .4rem; color: #6c757d; font-size: .78rem; text-align: center; }
@media (max-width: 799px) { .publication-overview-gallery { grid-template-columns: 1fr; } .publication-overview-gallery img { height: auto; max-height: 15rem; } .publication-overview-gallery.drwater-gallery .drwater-gallery-slide img { height: 16rem; } }
.publication-authors .abstract { display: none !important; }
@media (max-width: 799px) { .publication-ai-insight { grid-template-columns: 1fr; } .publication-ai-gallery figure { flex-basis: 31%; } }
@media (max-width: 799px) { .publication-abstract-layout .publication-ga-hero { float: none; width: 100%; margin: 0 auto 1rem; } }
.drwater-gallery { position: relative; width: 100%; max-width: none; margin: 1.5rem auto 2rem; overflow: hidden; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.drwater-gallery-track { display: flex !important; width: 100%; transition: transform 360ms ease; }
.drwater-gallery-slide { position: relative; display: block !important; flex: 0 0 100% !important; width: 100%; min-width: 100%; padding: .35rem .5rem .2rem; }
.drwater-gallery-slide:not(.is-active) { visibility: hidden; pointer-events: none; }
.drwater-gallery-slide figure { position: relative; display: block !important; width: 100%; margin: 0; text-align: center; }
.drwater-gallery-slide img { display: inline-block; width: 100%; height: 24rem; max-width: 100%; max-height: 36rem; object-fit: contain; border-radius: .85rem; }
.drwater-gallery-slide figcaption { position: absolute !important; right: auto; bottom: .85rem; left: 50%; z-index: 2; width: 90%; max-width: 90%; box-sizing: border-box; margin: 0 !important; padding: .35rem .6rem !important; color: #fff !important; font-size: .8rem; line-height: 1.4; text-align: center; background: transparent !important; border: 0; border-radius: 0; box-shadow: none; text-shadow: 0 1px .2rem rgba(16,42,67,.95), 0 0 .7rem rgba(16,42,67,.8); transform: translateX(-50%); }
.drwater-gallery-controls { display: flex; justify-content: center; padding: .35rem .6rem .65rem; }
.drwater-gallery-dots { display: flex; gap: .38rem; }
.drwater-gallery-dot { width: .52rem; height: .52rem; padding: 0; border: 1px solid #5fc7c1; border-radius: 50%; background: transparent; cursor: pointer; }
.drwater-gallery-dot.is-active { background: #5fc7c1; box-shadow: 0 0 0 3px rgba(95,199,193,.14); }
.drwater-gallery-arrow { position: absolute; top: 50%; z-index: 3; width: 2.2rem; height: 2.2rem; padding: 0; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: rgba(255,255,255,.62); background: rgba(16,42,67,.16); font-size: 1.7rem; line-height: 1; cursor: pointer; transform: translateY(-50%); backdrop-filter: blur(4px); }
.drwater-gallery-arrow:hover, .drwater-gallery-arrow:focus-visible { background: rgba(20,82,103,.86); }
.drwater-gallery-arrow-previous { left: .7rem; }
.drwater-gallery-arrow-next { right: .7rem; }
.drwater-gallery-slide img { cursor: zoom-in; }
.drwater-gallery:fullscreen { display: flex; width: 100vw; height: 100vh; max-width: none; margin: 0; flex-direction: column; justify-content: center; background: rgba(16,42,67,.12); backdrop-filter: blur(18px) saturate(120%); }
.drwater-gallery::backdrop { background: rgba(16,42,67,.06); backdrop-filter: blur(12px); }
.drwater-gallery:fullscreen .drwater-gallery-track { flex: 1 1 auto; align-items: center; }
.drwater-gallery:fullscreen .drwater-gallery-slide img { height: calc(100vh - 5rem); max-height: calc(100vh - 5rem); border-radius: 0; cursor: zoom-out; }
.drwater-gallery:fullscreen .drwater-gallery-slide figcaption { top: auto; right: auto; bottom: 1.5rem; left: 50%; width: 90%; max-width: 90%; text-align: center; background: transparent !important; border: 0; border-radius: 0; backdrop-filter: none; transform: translateX(-50%); }
main.content img:fullscreen { width: 100vw; height: 100vh; max-width: none; max-height: none; object-fit: contain; background: rgba(16,42,67,.12); backdrop-filter: blur(14px); cursor: zoom-out; }
main.content img::backdrop { background: rgba(16,42,67,.06); backdrop-filter: blur(12px); }
body:has(#title-block-header.quarto-title-block.research .project-details) main.content figure:not(.drwater-gallery-slide figure) { position: relative; display: block; width: 100%; max-width: 100%; margin: 1.25rem 0; text-align: center; box-sizing: border-box; }
body:has(#title-block-header.quarto-title-block.research .project-details) main.content figure.page-full, body:has(#title-block-header.quarto-title-block.research .project-details) main.content .quarto-figure.page-full { width: 100% !important; max-width: 100% !important; margin-right: 0 !important; margin-left: 0 !important; }
body:has(#title-block-header.quarto-title-block.research .project-details) main.content figure:not(.drwater-gallery-slide figure) img { display: inline-block; width: auto; max-width: 100% !important; height: auto; }
body:has(#title-block-header.quarto-title-block.research .project-details) main.content figure:not(.drwater-gallery-slide figure) figcaption { position: absolute !important; right: auto; bottom: .75rem; left: 50%; max-width: 88%; margin: 0 !important; padding: .3rem .55rem !important; color: #fff !important; text-align: center; background: transparent !important; border: 0; box-shadow: none; text-shadow: 0 1px .2rem rgba(16,42,67,.95), 0 0 .7rem rgba(16,42,67,.8); transform: translateX(-50%); }
body:has(#title-block-header.quarto-title-block.default.blog-post) main.content figure:not(.drwater-gallery-slide figure) { position: relative; display: block; width: 100%; max-width: 100%; margin: 1.25rem 0; text-align: center; box-sizing: border-box; }
body:has(#title-block-header.quarto-title-block.default.blog-post) main.content .quarto-figure.page-full { width: 100% !important; max-width: 100% !important; margin-right: 0 !important; margin-left: 0 !important; }
body:has(#title-block-header.quarto-title-block.default.blog-post) main.content figure:not(.drwater-gallery-slide figure) p { margin: 0; text-align: center; }
body:has(#title-block-header.quarto-title-block.default.blog-post) main.content figure:not(.drwater-gallery-slide figure) img { display: inline-block; width: auto; max-width: 100% !important; height: auto; }
body:has(#title-block-header.quarto-title-block.default.blog-post) main.content figure:not(.drwater-gallery-slide figure) figcaption { position: absolute !important; right: auto; bottom: .75rem; left: 50%; z-index: 2; width: 90% !important; max-width: 90% !important; margin: 0 !important; padding: .3rem .55rem !important; color: #fff !important; text-align: center; background: transparent !important; border: 0; box-shadow: none; text-shadow: 0 1px .2rem rgba(16,42,67,.95), 0 0 .7rem rgba(16,42,67,.8); transform: translateX(-50%); }
@media (max-width: 799px) { .publication-ga-hero { width: 100%; max-height: 13rem; margin-block: .9rem 1.5rem; padding: .55rem; border-radius: .8rem; } .publication-ga-hero-accessible { max-height: 12rem; } .drwater-gallery-slide img { height: 20rem; max-height: 26rem; } }
@media (min-width: 992px) { body:has(.blog-post) #title-block-header .quarto-title-banner { position: relative; left: -2rem; width: calc(100% + 4rem); padding-left: 1rem; padding-right: 1.5rem; } body:has(.blog-post) #title-block-header .title { font-size: clamp(1.5rem, 3vw, 2.35rem); } }
.drwater-title-tools-host { position: relative; }
.drwater-category-tools-row { display: flex !important; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.drwater-interaction-actions-top { position: static; z-index: 2; gap: .35rem; justify-content: flex-end; }
.drwater-interaction-actions-top button { padding: .26rem .5rem; border-color: rgba(95,199,193,.3); background: rgba(255,255,255,.42); color: rgba(20,82,103,.78); font-size: .76rem; line-height: 1.2; box-shadow: none; backdrop-filter: blur(8px) saturate(110%); }
.drwater-interaction-actions-top button:hover, .drwater-interaction-actions-top button:focus-visible, .drwater-interaction-actions-top button.is-liked { background: rgba(95,199,193,.14); border-color: rgba(95,199,193,.58); box-shadow: 0 2px 8px rgba(16,42,67,.08); transform: none; }
@media (max-width: 799px) { .drwater-interaction-actions-top { position: static; margin: .35rem 0 .75rem; justify-content: flex-start; } }

/* Final interaction override. These selectors intentionally sit at the end
   of the fallback stylesheet so legacy page-specific rules cannot reintroduce
   black, blue, or orange hover borders. */
:is(.project-list li.project, .outcome-entry, .service-card, .team-card .card, .home-pillar, .news-card, .listing-box:not(.team-card)) {
  border-color: #e2eaec !important;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease !important;
}
:is(.project-list li.project, .outcome-entry, .service-card, .team-card .card, .home-pillar, .news-card, .listing-box:not(.team-card)):hover,
:is(.project-list li.project, .outcome-entry, .service-card, .team-card .card, .home-pillar, .news-card, .listing-box:not(.team-card)):focus-within {
  border-color: #5fc7c1 !important;
  background-color: rgba(255, 255, 255, .72) !important;
  box-shadow: 0 .7rem 1.4rem rgba(16, 42, 67, .12), 0 0 0 3px rgba(95, 199, 193, .1) !important;
  transform: translateY(-3px);
  backdrop-filter: blur(9px) saturate(115%);
}

/* News uses the historical `.blog-entry` class rather than a card class. */
body:has(.blog) .blog-entry {
  border-color: #e2eaec !important;
  background-color: rgba(255, 255, 255, .72) !important;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease !important;
}
body:has(.blog) .blog-entry:hover,
body:has(.blog) .blog-entry:focus-within {
  border-color: #5fc7c1 !important;
  background-color: rgba(255, 255, 255, .72) !important;
  box-shadow: 0 .7rem 1.4rem rgba(16, 42, 67, .12), 0 0 0 3px rgba(95, 199, 193, .1) !important;
  transform: translateY(-3px);
  backdrop-filter: blur(9px) saturate(115%);
}
body:has(.blog) .blog-entry .post-category:hover,
body:has(.blog) .blog-entry .post-category:focus-visible {
  border-color: #5fc7c1 !important;
  background: rgba(95, 199, 193, .16) !important;
  color: #145267 !important;
  text-decoration: none;
}

/* Restore grouped author metadata; do not flatten authors into one line. */
body:has(.blog-post) #title-block-header .quarto-title-meta-author, body:has(#title-block-header.quarto-title-block.publication-detail) #title-block-header .quarto-title-meta-author, body:has(#title-block-header.quarto-title-block.research .project-details) #title-block-header .quarto-title-meta-author { display: grid !important; }
body:has(.blog-post) #title-block-header .quarto-title-meta-author .quarto-title-meta-heading, body:has(#title-block-header.quarto-title-block.publication-detail) #title-block-header .quarto-title-meta-author .quarto-title-meta-heading, body:has(#title-block-header.quarto-title-block.research .project-details) #title-block-header .quarto-title-meta-author .quarto-title-meta-heading, body:has(.blog-post) #title-block-header .quarto-title-meta-author .quarto-title-meta-contents:has(.affiliation), body:has(#title-block-header.quarto-title-block.publication-detail) #title-block-header .quarto-title-meta-author .quarto-title-meta-contents:has(.affiliation), body:has(#title-block-header.quarto-title-block.research .project-details) #title-block-header .quarto-title-meta-author .quarto-title-meta-contents:has(.affiliation) { display: block !important; }
body:has(.blog-post) #title-block-header .quarto-title-meta-author .quarto-title-meta-contents, body:has(#title-block-header.quarto-title-block.publication-detail) #title-block-header .quarto-title-meta-author .quarto-title-meta-contents, body:has(#title-block-header.quarto-title-block.research .project-details) #title-block-header .quarto-title-meta-author .quarto-title-meta-contents, body:has(.blog-post) #title-block-header .quarto-title-meta-author .author, body:has(#title-block-header.quarto-title-block.publication-detail) #title-block-header .quarto-title-meta-author .author, body:has(#title-block-header.quarto-title-block.research .project-details) #title-block-header .quarto-title-meta-author .author { display: block !important; margin: revert; }
body:has(.blog-post) #title-block-header .quarto-title-meta-author .quarto-title-meta-contents::before, body:has(#title-block-header.quarto-title-block.publication-detail) #title-block-header .quarto-title-meta-author .quarto-title-meta-contents::before, body:has(#title-block-header.quarto-title-block.research .project-details) #title-block-header .quarto-title-meta-author .quarto-title-meta-contents::before, body:has(.blog-post) #title-block-header .quarto-title-meta-author .author::after, body:has(#title-block-header.quarto-title-block.publication-detail) #title-block-header .quarto-title-meta-author .author::after, body:has(#title-block-header.quarto-title-block.research .project-details) #title-block-header .quarto-title-meta-author .author::after { content: none !important; }
body:has(.blog-post) #title-block-header > .quarto-title-meta, body:has(#title-block-header.quarto-title-block.publication-detail) #title-block-header > .quarto-title-meta, body:has(#title-block-header.quarto-title-block.research .project-details) #title-block-header > .quarto-title-meta { display: grid !important; }
body:has(.blog-post) #title-block-header .quarto-title-meta-author .quarto-title-meta-contents:has(.affiliation), body:has(#title-block-header.quarto-title-block.publication-detail) #title-block-header .quarto-title-meta-author .quarto-title-meta-contents:has(.affiliation), body:has(#title-block-header.quarto-title-block.research .project-details) #title-block-header .quarto-title-meta-author .quarto-title-meta-contents:has(.affiliation) { display: block !important; visibility: visible !important; }
body:has(.blog-post) #title-block-header .quarto-title-meta > div:first-child { grid-column: 1 / -1; width: 100%; }

/* Final outcome-list override after shared publication rules. */
body:has(.outcome-list) .outcome-list li.outcome-entry { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, 36%); grid-template-areas: "body logo"; align-items: stretch; column-gap: 1rem; row-gap: .8rem; min-height: 15rem; }
body:has(.outcome-list) .outcome-list li.outcome-entry .body { grid-area: body; min-width: 0; }
body:has(.outcome-list) .outcome-list li.outcome-entry .logo { grid-area: logo; min-height: 11rem; padding-left: 1rem; border-left: 1px solid #e9ecef; }
@media (max-width: 767.98px) {
  body:has(.outcome-list) .outcome-list li.outcome-entry { grid-template-columns: 1fr; grid-template-areas: "logo" "body"; min-height: 0; }
  body:has(.outcome-list) .outcome-list li.outcome-entry .logo { min-height: 10rem; padding: 0 0 1rem; border-right: 0; border-bottom: 1px solid #e9ecef; border-left: 0; }
}

/* Keep publication detail title bands aligned with the article body. */
body:has(#title-block-header.quarto-title-block.publication-detail) #title-block-header .quarto-title-banner {
  position: relative;
  left: auto;
  width: 100%;
  max-width: 100%;
  color: #102a43 !important;
  border-left: 0;
}

/* One title system across news, publication, and outcome detail pages. */
body:has(.blog-post) #title-block-header,
body:has(#title-block-header.quarto-title-block.publication-detail) #title-block-header,
body:has(#title-block-header.quarto-title-block.research .project-details) #title-block-header { width: 100%; max-width: 900px; margin-inline: auto; }
body:has(.blog-post) #title-block-header .quarto-title-banner,
body:has(#title-block-header.quarto-title-block.publication-detail) #title-block-header .quarto-title-banner,
body:has(#title-block-header.quarto-title-block.research .project-details) #title-block-header .quarto-title-banner { position: relative; left: auto; width: 100%; max-width: 100%; padding: 1.15rem clamp(1.25rem, 4vw, 2.5rem) 1.25rem; background: #f3f1f6 !important; color: #102a43 !important; border: 0; border-radius: .8rem; box-shadow: 0 .55rem 1.4rem rgba(16,42,67,.08); }
body:has(.blog-post) #title-block-header .quarto-title .title,
body:has(#title-block-header.quarto-title-block.publication-detail) #title-block-header .quarto-title .title,
body:has(#title-block-header.quarto-title-block.research .project-details) #title-block-header .quarto-title .title { width: 100%; max-width: 100%; color: #102a43 !important; font-size: clamp(1.45rem, 2.8vw, 2.35rem); line-height: 1.18; }
body:has(.blog-post) #title-block-header.page-full { width: 100%; max-width: 900px; margin-inline: auto; }
body:has(.blog-post) #title-block-header .quarto-title-banner.page-full { width: 100%; max-width: 100%; margin-inline: 0; }
body:has(.blog-post) #title-block-header .quarto-title.column-body { width: 100%; max-width: none; grid-column: 1 / -1; }
body:has(#title-block-header.quarto-title-block.research .project-details) #title-block-header.page-full { width: 100%; max-width: 900px; margin-inline: auto; }
body:has(#title-block-header.quarto-title-block.research .project-details) #title-block-header .quarto-title-banner.page-full { width: 100%; max-width: 100%; margin-inline: 0; }
body:has(#title-block-header.quarto-title-block.research .project-details) #title-block-header .quarto-title.column-body { width: 100%; max-width: none; grid-column: 1 / -1; }
body:has(#title-block-header.quarto-title-block.research .project-details) #title-block-header .publication-back-nav { margin: 0 0 .55rem; padding-left: .15rem; font-size: .82rem; line-height: 1.2; }
body:has(#title-block-header.quarto-title-block.research .project-details) #title-block-header .publication-back-nav a { color: #6c757d; text-decoration: none; }
body:has(#title-block-header.quarto-title-block.research .project-details) #title-block-header .publication-back-nav a:hover,
body:has(#title-block-header.quarto-title-block.research .project-details) #title-block-header .publication-back-nav a:focus-visible { color: #145267; text-decoration: underline; text-underline-offset: .15em; }
body:has(#title-block-header.quarto-title-block.research .project-details) #title-block-header > .project-details { width: 100%; box-sizing: border-box; margin: 1rem 0; padding: .9rem 1.25rem; background: rgba(95,199,193,.08); border: 1px solid rgba(95,199,193,.2); border-radius: .7rem; }
body:has(#title-block-header.quarto-title-block.research .project-details) #title-block-header > .project-details .publication-content p { margin: 0; }
body:has(.blog-post) #title-block-header .quarto-title-meta-author, body:has(#title-block-header.quarto-title-block.publication-detail) #title-block-header .quarto-title-meta-author, body:has(#title-block-header.quarto-title-block.research .project-details) #title-block-header .quarto-title-meta-author { display: block; }
body:has(.blog-post) #title-block-header .quarto-title-meta-author .quarto-title-meta-heading, body:has(#title-block-header.quarto-title-block.publication-detail) #title-block-header .quarto-title-meta-author .quarto-title-meta-heading, body:has(#title-block-header.quarto-title-block.research .project-details) #title-block-header .quarto-title-meta-author .quarto-title-meta-heading, body:has(.blog-post) #title-block-header .quarto-title-meta-author .quarto-title-meta-contents:has(.affiliation), body:has(#title-block-header.quarto-title-block.publication-detail) #title-block-header .quarto-title-meta-author .quarto-title-meta-contents:has(.affiliation), body:has(#title-block-header.quarto-title-block.research .project-details) #title-block-header .quarto-title-meta-author .quarto-title-meta-contents:has(.affiliation) { display: none !important; }
body:has(.blog-post) #title-block-header .quarto-title-meta-author .quarto-title-meta-contents, body:has(#title-block-header.quarto-title-block.publication-detail) #title-block-header .quarto-title-meta-author .quarto-title-meta-contents, body:has(#title-block-header.quarto-title-block.research .project-details) #title-block-header .quarto-title-meta-author .quarto-title-meta-contents { display: inline; margin: 0; }
body:has(.blog-post) #title-block-header .quarto-title-meta-author .quarto-title-meta-contents:has(.author)::before, body:has(#title-block-header.quarto-title-block.publication-detail) #title-block-header .quarto-title-meta-author .quarto-title-meta-contents:has(.author)::before, body:has(#title-block-header.quarto-title-block.research .project-details) #title-block-header .quarto-title-meta-author .quarto-title-meta-contents:has(.author)::before { content: "作者："; color: #496273; }
body:has(.blog-post) #title-block-header .quarto-title-meta-author .author, body:has(#title-block-header.quarto-title-block.publication-detail) #title-block-header .quarto-title-meta-author .author, body:has(#title-block-header.quarto-title-block.research .project-details) #title-block-header .quarto-title-meta-author .author { display: inline; margin: 0; }
body:has(.blog-post) #title-block-header .quarto-title-meta-author .author:not(:last-child)::after, body:has(#title-block-header.quarto-title-block.publication-detail) #title-block-header .quarto-title-meta-author .author:not(:last-child)::after, body:has(#title-block-header.quarto-title-block.research .project-details) #title-block-header .quarto-title-meta-author .author:not(:last-child)::after { content: "、"; }
body:has(.blog-post) #title-block-header .quarto-title-meta, body:has(#title-block-header.quarto-title-block.publication-detail) #title-block-header .quarto-title-meta, body:has(#title-block-header.quarto-title-block.research .project-details) #title-block-header .quarto-title-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .35rem; }
body:has(.blog-post) #title-block-header .quarto-title-meta > div, body:has(#title-block-header.quarto-title-block.publication-detail) #title-block-header .quarto-title-meta > div, body:has(#title-block-header.quarto-title-block.research .project-details) #title-block-header .quarto-title-meta > div, body:has(.blog-post) #title-block-header .quarto-title-meta-heading, body:has(#title-block-header.quarto-title-block.publication-detail) #title-block-header .quarto-title-meta-heading, body:has(#title-block-header.quarto-title-block.research .project-details) #title-block-header .quarto-title-meta-heading, body:has(.blog-post) #title-block-header .quarto-title-meta-contents, body:has(#title-block-header.quarto-title-block.publication-detail) #title-block-header .quarto-title-meta-contents, body:has(#title-block-header.quarto-title-block.research .project-details) #title-block-header .quarto-title-meta-contents { display: inline; margin: 0; }
body:has(.blog-post) #title-block-header > .quarto-title-meta, body:has(#title-block-header.quarto-title-block.publication-detail) #title-block-header > .quarto-title-meta, body:has(#title-block-header.quarto-title-block.research .project-details) #title-block-header > .quarto-title-meta { width: 100%; max-width: 900px; box-sizing: border-box; margin-inline: auto; }
body:has(.blog-post) #title-block-header .quarto-title-banner :is(.subtitle, .description, .haiku, .quarto-title-meta, .quarto-title-meta-heading, .quarto-title-meta-contents),
body:has(#title-block-header.quarto-title-block.publication-detail) #title-block-header .quarto-title-banner :is(.subtitle, .description, .haiku, .quarto-title-meta, .quarto-title-meta-heading, .quarto-title-meta-contents),
body:has(#title-block-header.quarto-title-block.research .project-details) #title-block-header .quarto-title-banner :is(.subtitle, .description, .haiku, .quarto-title-meta, .quarto-title-meta-heading, .quarto-title-meta-contents) { color: #496273 !important; }
