@font-face {
  font-family: "Gill Sans MT";
  src: url("assets/fonts/gill-sans-mt/GillSansMT-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Gill Sans MT";
  src: url("assets/fonts/gill-sans-mt/GillSansMT-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Gill Sans MT";
  src: url("assets/fonts/gill-sans-mt/GillSansMT-Italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Gill Sans MT";
  src: url("assets/fonts/gill-sans-mt/GillSansMT-BoldItalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 700;
  font-display: swap;
}

:root {
  --extend-site-font: "Gill Sans MT", "Gill Sans", "Trebuchet MS", Arial, sans-serif;
  --extend-brand-font: "Avenir Next", "SF Pro Display", "Helvetica Neue", "Segoe UI", sans-serif;
  --bs-body-font-family: var(--extend-site-font);
  --bs-font-sans-serif: var(--extend-site-font);
}

body {
  min-height: 100vh;
  background: #ffffff;
  color: #1d2b3a;
  font-family: var(--extend-site-font);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(206, 218, 228, 0.12) 0, rgba(206, 218, 228, 0.12) 1px, transparent 1px, transparent 120px),
    linear-gradient(rgba(206, 218, 228, 0.08) 0, rgba(206, 218, 228, 0.08) 1px, transparent 1px, transparent 120px);
  opacity: 0.32;
}

h1, h2, h3, h4, h5, h6,
.navbar-title,
.quarto-title .title {
  font-family: var(--extend-site-font);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #17324c;
}

a {
  color: #315f99;
  text-decoration: none;
}

a:hover {
  color: #1f4c85;
}

p {
  line-height: 1.72;
}

.navbar {
  width: 100%;
  background: linear-gradient(90deg, rgba(11, 45, 79, 0.94) 0%, rgba(22, 73, 118, 0.92) 100%);
  border-bottom: 1px solid rgba(173, 220, 255, 0.18);
  box-shadow: 0 10px 30px rgba(8, 24, 44, 0.28);
  backdrop-filter: blur(10px);
}

.navbar .container-fluid {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.navbar .nav-link,
.navbar .navbar-title,
.navbar .navbar-brand {
  color: #f4f8fb !important;
}

.navbar .navbar-brand {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.navbar-collapse {
  align-items: center;
  gap: 0.72rem;
}

.navbar-brand-container {
  flex: 0 0 auto;
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.16rem;
  font-family: var(--extend-brand-font);
}

.brand-rainbow {
  display: inline-flex;
  align-items: center;
  gap: 0.01em;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1;
}

.navbar .brand-mark,
.navbar .brand-rainbow,
.navbar .brand-rainbow span,
.navbar .brand-lab {
  font-family: var(--extend-brand-font) !important;
}

.brand-rainbow span:nth-child(1) {
  color: #ff6b6b;
}

.brand-rainbow span:nth-child(2) {
  color: #ff9f43;
}

.brand-rainbow span:nth-child(3) {
  color: #ffd93d;
}

.brand-rainbow span:nth-child(4) {
  color: #4cd7a5;
}

.brand-rainbow span:nth-child(5) {
  color: #5ab6ff;
}

.brand-rainbow span:nth-child(6) {
  color: #b388ff;
}

.brand-lab {
  color: #f4f8fb;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
}

.site-search {
  position: relative;
  width: min(100%, 176px);
  flex: 0 0 auto;
}

.language-switcher {
  position: relative;
  flex: 0 0 auto;
}

.language-switcher-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  min-width: 70px;
  padding: 0.52rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(199, 224, 241, 0.16);
  color: #f3f8fd !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04)),
    rgba(8, 30, 51, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 24px rgba(5, 18, 33, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.language-switcher-button:hover,
.language-switcher-button:focus {
  color: #ffffff !important;
  border-color: rgba(154, 207, 239, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06)),
    rgba(8, 30, 51, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 0 3px rgba(122, 182, 219, 0.12),
    0 12px 28px rgba(6, 23, 39, 0.14);
  transform: translateY(1px);
}

.language-switcher-button::after {
  margin-left: 0.08rem;
  font-size: 0.72rem;
}

.language-switcher-button .bi {
  font-size: 0.84rem;
  line-height: 1;
  opacity: 0.96;
}

.language-switcher-current {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}

.language-switcher-menu {
  min-width: 7.25rem;
  padding: 0.38rem;
  border: 1px solid rgba(171, 201, 221, 0.2);
  background: rgba(248, 251, 253, 0.98);
  box-shadow: 0 18px 36px rgba(8, 28, 50, 0.16);
}

.language-switcher-option {
  padding: 0.5rem 0.72rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: #24415a;
  border-radius: 999px;
}

.language-switcher-option:hover,
.language-switcher-option:focus,
.language-switcher-option.active {
  color: #17324c;
  background: rgba(232, 240, 246, 0.92);
}

.site-search::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0.9rem;
  width: 0.8rem;
  height: 0.8rem;
  transform: translateY(-50%);
  border: 1.8px solid rgba(247, 251, 255, 0.96);
  border-radius: 50%;
  pointer-events: none;
  opacity: 1;
  box-shadow: 0 0 10px rgba(182, 230, 255, 0.24);
}

.site-search::after {
  content: "";
  position: absolute;
  top: calc(50% + 0.29rem);
  left: 1.58rem;
  width: 0.38rem;
  height: 2px;
  background: rgba(247, 251, 255, 0.96);
  transform: rotate(45deg);
  border-radius: 999px;
  pointer-events: none;
  opacity: 1;
  box-shadow: 0 0 10px rgba(182, 230, 255, 0.24);
}

.site-search-input {
  width: 100%;
  padding: 0.52rem 0.84rem 0.52rem 2.28rem;
  border-radius: 999px;
  border: 1px solid rgba(199, 224, 241, 0.16);
  color: #f3f8fd;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04)),
    rgba(8, 30, 51, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 24px rgba(5, 18, 33, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
  font-size: 0.88rem;
}

.site-search-input::placeholder {
  color: rgba(229, 239, 246, 0.58);
  font-size: 0.82rem;
}

.site-search-input:focus {
  outline: none;
  border-color: rgba(154, 207, 239, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06)),
    rgba(8, 30, 51, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 0 3px rgba(122, 182, 219, 0.12),
    0 12px 28px rgba(6, 23, 39, 0.14);
  transform: translateY(1px);
}

.site-search-results {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  left: 0;
  z-index: 30;
  padding: 0.45rem;
  border-radius: 16px;
  border: 1px solid rgba(171, 201, 221, 0.2);
  background: rgba(248, 251, 253, 0.98);
  box-shadow: 0 18px 36px rgba(8, 28, 50, 0.16);
}

.site-search-result {
  display: block;
  padding: 0.72rem 0.78rem;
  border-radius: 12px;
  color: #24415a;
}

.site-search-result:hover {
  color: #17324c;
  background: rgba(232, 240, 246, 0.92);
}

.site-search-result-title {
  display: block;
  font-weight: 700;
  line-height: 1.35;
}

.site-search-result-meta {
  display: block;
  margin-top: 0.18rem;
  color: #63778a;
  font-size: 0.84rem;
  line-height: 1.45;
}

.site-search-empty {
  padding: 0.78rem 0.82rem;
  color: #617688;
  font-size: 0.9rem;
}

.navbar .nav-link {
  opacity: 0.88;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  opacity: 1;
  color: #d9efff !important;
}

#quarto-content {
  max-width: 1240px;
  margin: 0 auto;
  padding: 46px 22px 40px;
}

.content.column-page {
  position: relative;
  padding: 28px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(253, 255, 255, 0.94) 0%, rgba(246, 251, 255, 0.92) 100%);
  border: 1px solid rgba(154, 211, 245, 0.08);
  box-shadow:
    0 28px 70px rgba(8, 31, 58, 0.18),
    0 0 0 1px rgba(120, 204, 255, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.content.column-page::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 1px 22px rgba(115, 198, 255, 0.035);
}

.quarto-title-block {
  margin-top: 0.4rem;
  margin-bottom: 2rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(74, 133, 179, 0.16);
}

.quarto-title .subtitle {
  color: #5f7284;
  font-weight: 500;
}

.background-frame {
  margin-bottom: 1.3rem;
}

.alt-background,
.background-frame:not(.alt-background) {
  background: transparent;
}

.content-block {
  position: relative;
  padding: 28px 28px 22px;
  margin: 0;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(246, 251, 255, 0.88) 100%);
  border: 1px solid rgba(145, 205, 242, 0.08);
  box-shadow:
    0 16px 34px rgba(12, 37, 66, 0.075),
    0 0 0 1px rgba(133, 207, 255, 0.02),
    inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.content-block::after {
  content: "";
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 1px;
  background: linear-gradient(90deg, rgba(91, 188, 255, 0) 0%, rgba(91, 188, 255, 0.38) 50%, rgba(91, 188, 255, 0) 100%);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 30px 34px 26px;
  border-radius: 22px;
  isolation: isolate;
  background:
    radial-gradient(circle at 78% 22%, rgba(90, 166, 255, 0.14), transparent 24%),
    radial-gradient(circle at 90% 82%, rgba(74, 108, 230, 0.1), transparent 21%),
    linear-gradient(135deg, #081527 0%, #0d2743 44%, #12375a 68%, #08192f 100%);
  border: 1px solid rgba(148, 206, 246, 0.14);
  box-shadow:
    0 28px 64px rgba(4, 14, 30, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-panel > * {
  position: relative;
  z-index: 2;
}

.hero-cosmos-canvas,
.hero-cosmos-vignette {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.hero-cosmos-canvas {
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
}

.hero-cosmos-vignette {
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 44%, rgba(3, 11, 22, 0) 0%, rgba(4, 12, 24, 0.16) 42%, rgba(3, 10, 20, 0.56) 100%),
    linear-gradient(135deg, rgba(2, 10, 19, 0.12) 0%, rgba(3, 11, 22, 0.28) 100%);
}

.hero-panel::after {
  left: 34px;
  right: 34px;
  background: linear-gradient(90deg, rgba(131, 210, 255, 0) 0%, rgba(131, 210, 255, 0.72) 50%, rgba(131, 210, 255, 0) 100%);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 220px;
}

.hero-eyebrow {
  margin-bottom: 0.8rem;
  color: rgba(228, 242, 252, 0.78);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0 0 1rem;
  max-width: 12ch;
  color: #f5fbff;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.02;
  text-shadow:
    0 0 18px rgba(132, 212, 255, 0.14),
    0 8px 26px rgba(3, 13, 26, 0.34);
}

.hero-subtitle {
  max-width: 34rem;
  margin-bottom: 0.7rem;
  color: rgba(221, 235, 246, 0.88);
  font-size: 1.08rem;
}

.hero-button-row {
  text-align: left;
}

.hero-media {
  display: flex;
  align-items: center;
}

.section-heading-wrap {
  margin-bottom: 1.4rem;
  text-align: center;
}

.section-heading-wrap.align-left {
  text-align: left;
}

.section-kicker {
  margin-bottom: 0.45rem;
  color: #4a78a8;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-heading {
  margin: 0;
  color: #17324c;
  font-size: clamp(1.9rem, 2.8vw, 2.45rem);
}

.page-section {
  margin-bottom: 1.3rem;
}

.page-section:last-child {
  margin-bottom: 0;
}

.content-block > .grid {
  row-gap: 1.2rem;
}

.content-block p[align="center"] {
  color: #204261;
}

.button {
  text-align: center;
  padding-bottom: 6px;
}

.btn-action {
  min-width: 178px;
  border-radius: 10px;
  border: 1px solid rgba(80, 150, 255, 0.28);
  padding-left: 1.4rem;
  padding-right: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.88rem;
}

.btn-action-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #4a78d0 0%, #2f5fa6 52%, #25497d 100%) !important;
  box-shadow:
    0 14px 34px rgba(42, 79, 139, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.btn-action-primary:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #416fca 0%, #2b5697 52%, #21416f 100%) !important;
}

.index-cta-wrap {
  text-align: center;
}

.index-cta-wrap-research {
  margin-top: 1.3rem;
}

.index-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-width: 196px;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  border: 1px solid rgba(134, 213, 255, 0.34);
  color: #eef8ff !important;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background:
    linear-gradient(135deg, rgba(98, 196, 255, 0.22) 0%, rgba(59, 109, 255, 0.2) 100%),
    linear-gradient(135deg, #143e66 0%, #1d5d8f 52%, #143b60 100%);
  box-shadow:
    0 16px 30px rgba(10, 31, 54, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 0 18px rgba(120, 214, 255, 0.12);
  overflow: hidden;
}

.index-cta::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
  pointer-events: none;
}

.index-cta::after {
  content: "\2192";
  position: relative;
  font-size: 0.92rem;
  letter-spacing: 0;
  transition: transform 160ms ease;
}

.index-cta:hover {
  transform: translateY(-2px);
  color: #ffffff !important;
  border-color: rgba(154, 225, 255, 0.46);
  box-shadow:
    0 20px 36px rgba(10, 31, 54, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 0 22px rgba(120, 214, 255, 0.16);
}

.index-cta:hover::after {
  transform: translateX(3px);
}

.index-cta:focus-visible {
  outline: 2px solid rgba(182, 234, 255, 0.72);
  outline-offset: 3px;
}

.hero-image,
.about-image {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 16px !important;
  border: 1px solid rgba(118, 194, 255, 0.24);
  box-shadow:
    0 22px 42px rgba(8, 29, 53, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.card-grid,
.people-grid {
  row-gap: 1rem;
}

.feature-card,
.publication-card,
.person-card,
.empty-panel,
.table-responsive {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(145, 194, 231, 0.34);
  border-radius: 14px;
  padding: 1.25rem;
  height: 100%;
  box-shadow:
    0 14px 36px rgba(16, 44, 79, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.feature-card::before,
.publication-card::before,
.person-card::before,
.empty-panel::before,
.table-responsive::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.52);
}

.feature-card::after,
.publication-card::after,
.person-card::after,
.empty-panel::after,
.table-responsive::after {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 2px;
  background: linear-gradient(90deg, rgba(89, 182, 255, 0) 0%, rgba(89, 182, 255, 0.85) 50%, rgba(89, 182, 255, 0) 100%);
}

.feature-card h3,
.publication-card h3,
.person-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: #204261;
}

.feature-card p,
.publication-card p,
.person-body p,
.empty-panel p,
.pub-section li,
.table td,
.table th {
  color: #617688;
}

.person-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 1rem;
  border: 1px solid rgba(150, 202, 241, 0.34);
}

.person-photo-yulong {
  object-position: 50% 35%;
}

.person-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #e3f1ff 0%, #d4e8fb 48%, #edf6ff 100%);
  border: 1px solid rgba(142, 193, 232, 0.34);
  color: #3c67a3;
  font-size: 2rem;
  font-weight: 700;
}

.person-body p,
.publication-card p,
.feature-card p,
.empty-panel p {
  margin-bottom: 0;
}

.person-card-link {
  display: block;
  height: 100%;
  color: inherit;
  cursor: pointer;
}

.person-card-link:hover {
  color: inherit;
}

.person-card-link .person-card {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.person-card-link:hover .person-card,
.person-card-link:focus-visible .person-card {
  transform: translateY(-6px);
  border-color: rgba(116, 201, 255, 0.56);
  box-shadow:
    0 22px 42px rgba(12, 39, 69, 0.16),
    0 0 0 1px rgba(130, 213, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.person-card-link:focus-visible {
  outline: none;
}

.about-copy ul {
  padding-left: 1.25rem;
}

.about-copy li {
  margin-bottom: 0.45rem;
  color: #4c6377;
}

.figure figcaption {
  margin-top: 0.8rem;
  color: #6f8292;
  font-size: 0.92rem;
  text-align: center;
}

.notice-panel {
  text-align: center;
  background:
    linear-gradient(180deg, rgba(251, 253, 255, 1) 0%, rgba(242, 249, 255, 1) 100%);
}

.news-page .quarto-title-block {
  margin-bottom: 1.55rem;
  padding-bottom: 1.25rem;
}

.news-overview {
  padding-top: 30px;
  padding-bottom: 28px;
  background:
    radial-gradient(circle at 92% 18%, rgba(111, 191, 255, 0.14), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.985) 0%, rgba(245, 250, 255, 0.97) 100%);
}

.news-page-intro {
  max-width: 52rem;
}

.news-page-heading {
  margin: 0;
  color: #17324c;
  font-size: clamp(1.8rem, 2.6vw, 2.35rem);
  line-height: 1.2;
}

.news-page-text {
  margin: 0.9rem 0 0;
  color: #617688;
  font-size: 1rem;
}

.news-archive-page .content-block {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.news-archive-page .content-block::after,
.news-archive-page .content-block::before {
  display: none;
}

.news-archive-page .news-overview {
  margin-bottom: 1.9rem;
}

.news-archive-page .news-page-intro {
  max-width: 42rem;
}

.news-archive-page .section-kicker {
  margin-bottom: 0.35rem;
}

.news-card-section {
  padding-top: 24px;
}

.archive-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.35rem;
}

.archive-toggle-button {
  min-width: 148px;
}

.archive-return {
  margin: 0 0 0.95rem;
}

.archive-return-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #2f5f91;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
}

.archive-return-link::before {
  content: "\2190";
  font-size: 0.95rem;
  line-height: 1;
}

.archive-return-link:hover {
  color: #214a74;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.news-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.news-section-text {
  margin: 0.55rem 0 0;
  color: #677b8c;
  max-width: 42rem;
}

.news-archive-page .news-section-header {
  margin-bottom: 1.1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(204, 213, 221, 0.9);
}

.news-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.news-card-grid-text {
  align-items: stretch;
}

.news-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(205, 214, 222, 0.96);
  border-radius: 0;
  box-shadow: none;
}

.news-card-image-link {
  display: block;
}

.news-card-image {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid rgba(207, 218, 228, 0.95);
}

.news-card-section[data-category="media"] .news-card-image,
.homepage-update-card-news-media .news-card-image {
  object-fit: contain;
  background: #f6f9fc;
}

.news-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 0.55rem;
  padding: 1rem 1rem 1rem;
  min-height: 0;
}

.news-card-title {
  margin: 0;
  color: #2f3a45;
  font-size: 1rem;
  line-height: 1.38;
  font-weight: 500;
}

.news-card-title a {
  color: inherit;
}

.news-card-title a:hover {
  color: #2b5f91;
}

.homepage-update-shell {
  margin-top: 0.2rem;
}

.homepage-highlights-rail {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.homepage-highlights-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  padding-top: 0.32rem;
}

.homepage-highlights-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

.homepage-highlights-viewport::-webkit-scrollbar {
  display: none;
}

.homepage-highlights-rail[data-dragging="true"] .homepage-highlights-viewport {
  cursor: grabbing;
}

.homepage-highlights-dot {
  position: relative;
  width: 0.72rem;
  height: 0.72rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background:
    radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.15) 22%, rgba(255, 255, 255, 0.04) 34%, transparent 58%),
    radial-gradient(circle at 68% 72%, rgba(116, 237, 255, 0.14) 0%, transparent 56%),
    linear-gradient(145deg, rgba(172, 245, 255, 0.12) 0%, rgba(105, 183, 255, 0.17) 42%, rgba(81, 114, 222, 0.2) 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.42),
    inset 0 -1px 2px rgba(71, 115, 173, 0.08),
    0 0 14px rgba(123, 219, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease, opacity 180ms ease, filter 180ms ease;
  opacity: 0.58;
}

.homepage-highlights-dot::before {
  content: "";
  position: absolute;
  inset: -0.32rem;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(116, 213, 255, 0.18) 0%, rgba(116, 213, 255, 0.06) 34%, transparent 72%);
  filter: blur(6px);
  opacity: 0.4;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, filter 180ms ease;
  animation: homepageDotGlow 3s ease-in-out infinite;
}

.homepage-highlights-dot:hover,
.homepage-highlights-dot:focus-visible {
  transform: translateY(-1px) scale(1.12);
  background:
    radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.2) 22%, rgba(255, 255, 255, 0.06) 34%, transparent 58%),
    radial-gradient(circle at 68% 72%, rgba(110, 234, 255, 0.18) 0%, transparent 58%),
    linear-gradient(145deg, rgba(182, 246, 255, 0.17) 0%, rgba(109, 190, 255, 0.24) 42%, rgba(86, 120, 236, 0.28) 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.54),
    inset 0 -1px 2px rgba(67, 120, 190, 0.1),
    0 0 18px rgba(122, 220, 255, 0.18);
  filter: saturate(1.08);
  opacity: 0.82;
  outline: none;
}

.homepage-highlights-dot:hover::before,
.homepage-highlights-dot:focus-visible::before {
  opacity: 0.68;
  transform: scale(1.08);
  filter: blur(7px);
}

.homepage-highlights-dot.is-active {
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.24) 22%, rgba(255, 255, 255, 0.08) 34%, transparent 58%),
    radial-gradient(circle at 70% 72%, rgba(116, 246, 255, 0.2) 0%, transparent 58%),
    linear-gradient(145deg, rgba(188, 250, 255, 0.22) 0%, rgba(103, 201, 255, 0.32) 40%, rgba(88, 103, 247, 0.38) 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.6),
    inset 0 -1px 2px rgba(58, 122, 203, 0.12),
    0 0 24px rgba(114, 231, 255, 0.26);
  filter: saturate(1.12);
  opacity: 0.92;
}

.homepage-highlights-dot.is-active::before {
  opacity: 0.86;
  transform: scale(1.14);
  filter: blur(8px);
}

@keyframes homepageDotGlow {
  0%,
  100% {
    opacity: 0.34;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.62;
    transform: scale(1.08);
  }
}

.homepage-highlights-track {
  display: flex;
  gap: 1.15rem;
  padding: 0.2rem 0 0.4rem;
}

.homepage-highlights-slide {
  flex: 0 0 calc((100% - 2.3rem) / 3);
  min-width: 0;
  scroll-snap-align: start;
}

.homepage-update-link {
  display: block;
  height: 100%;
  width: 100%;
}

.homepage-update-card {
  height: 100%;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.homepage-update-card .news-card-image,
.homepage-update-art {
  aspect-ratio: 5 / 3;
}

.homepage-update-link:hover .homepage-update-card {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(19, 36, 58, 0.12);
}

.homepage-update-label {
  margin: 0;
  color: #4a78a8;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.homepage-update-meta {
  margin: -0.15rem 0 0;
  color: #7f8e9c;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.homepage-update-art {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.05rem;
  border-bottom: 1px solid rgba(207, 218, 228, 0.95);
}

.homepage-update-art-image {
  background:
    radial-gradient(circle at 18% 20%, rgba(142, 211, 255, 0.28), transparent 26%),
    linear-gradient(135deg, #153b63 0%, #1f5786 52%, #17446e 100%);
}

.homepage-update-art-image-asset {
  max-width: 88%;
  max-height: 72%;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid rgba(203, 226, 245, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.homepage-update-card .news-card-title {
  min-height: 2.8em;
}

.homepage-update-card .news-card-text {
  min-height: 4.9em;
}


.news-card-date {
  margin: 0;
  margin-top: auto;
  padding-top: 0.7rem;
  align-self: flex-end;
  display: block;
  width: 100%;
  text-align: right;
  color: #7f8e9c;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.news-card-text {
  margin: 0;
  color: #5f6d79;
  font-size: 0.92rem;
  line-height: 1.68;
}

.news-card-text strong {
  color: #4a5967;
  font-weight: 600;
}

.news-card-textonly {
  min-height: 250px;
}

.news-card-textonly .news-card-body {
  padding-top: 1.15rem;
}

.event-feature-section {
  padding-top: 24px;
}

.event-feature-stack {
  display: grid;
  gap: 1.2rem;
}

.event-feature-card {
  display: grid;
  grid-template-columns: minmax(170px, 0.75fr) minmax(0, 1.75fr);
  gap: 1.2rem;
  align-items: stretch;
  padding: 1.35rem;
  border: 1px solid rgba(201, 212, 223, 0.82);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 251, 255, 0.98) 100%);
  box-shadow: 0 14px 32px rgba(16, 44, 79, 0.08);
}

.event-feature-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  align-content: start;
}

.event-feature-media-single {
  grid-template-columns: 1fr;
  max-width: 100%;
  width: 100%;
  justify-self: stretch;
}

.event-feature-image {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  border: 1px solid rgba(205, 216, 227, 0.9);
  box-shadow: 0 10px 24px rgba(25, 38, 51, 0.08);
}

.event-feature-media-single .event-feature-image {
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
}

.event-feature-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
}

.event-feature-date {
  margin: 0 0 0.4rem;
  color: #5f6d79;
  font-size: 0.96rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  font-style: normal;
}

.event-feature-title {
  margin: 0 0 0.7rem;
  color: #2f3a45;
  font-size: 1.24rem;
  line-height: 1.35;
  font-weight: 600;
}

.event-feature-text {
  margin: 0;
  color: #5f6d79;
  font-size: 0.96rem;
  line-height: 1.74;
  font-weight: 400;
  font-style: normal;
}

.event-gallery-card {
  cursor: pointer;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.event-gallery-card:hover,
.event-gallery-card:focus-visible {
  border-color: rgba(84, 137, 185, 0.55);
  box-shadow: 0 18px 38px rgba(16, 44, 79, 0.12);
  outline: none;
  transform: translateY(-1px);
}

.event-gallery-preview {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.event-seminar-media {
  grid-template-columns: minmax(120px, 0.82fr) minmax(0, 1fr);
  align-items: start;
}

.event-seminar-poster-trigger .research-cfp-image {
  max-height: 19rem;
}

.event-seminar-gallery-trigger {
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.event-seminar-gallery-trigger:focus-visible {
  outline: 2px solid rgba(63, 129, 196, 0.45);
  outline-offset: 6px;
}

.event-seminar-gallery-trigger:hover .event-gallery-preview-image,
.event-seminar-gallery-trigger:focus-visible .event-gallery-preview-image {
  border-color: rgba(84, 137, 185, 0.62);
  box-shadow: 0 12px 26px rgba(16, 44, 79, 0.13);
}

.event-gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.event-gallery-preview-tile {
  position: relative;
  margin: 0;
  min-width: 0;
}

.event-gallery-preview-image {
  aspect-ratio: 4 / 3;
  height: 100%;
  border-radius: 8px;
}

.event-gallery-more {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(16, 38, 60, 0.58);
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
}

.event-gallery-hint::before {
  content: "\F52E";
  font-family: "bootstrap-icons";
  font-size: 0.86rem;
}

.event-gallery-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  width: fit-content;
  margin-top: 0.2rem;
  color: #2f628f;
  font-size: 0.86rem;
  font-weight: 700;
}

.event-gallery-cta[role="button"] {
  cursor: pointer;
}

.event-gallery-cta::after {
  content: "\F285";
  font-family: "bootstrap-icons";
  font-size: 0.78rem;
  line-height: 1;
}

.event-gallery-modal-content {
  min-height: 100vh;
  border: none;
  border-radius: 0;
  background: #eef4f8;
  overflow: hidden;
}

.event-gallery-header {
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.35rem;
  border-bottom: 1px solid rgba(199, 213, 226, 0.86);
  background: rgba(250, 253, 255, 0.96);
}

.event-gallery-eyebrow {
  margin: 0 0 0.22rem;
  color: #647789;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.event-gallery-title {
  margin: 0;
  color: #17324c;
  font-size: 1.22rem;
  line-height: 1.32;
  font-weight: 700;
  letter-spacing: 0;
}

.event-gallery-close {
  flex: 0 0 auto;
  width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(195, 210, 223, 0.95);
  border-radius: 999px;
  background: #ffffff;
  color: #234968;
  box-shadow: 0 8px 18px rgba(22, 52, 83, 0.1);
}

.event-gallery-close:hover,
.event-gallery-close:focus-visible {
  color: #17324c;
  border-color: rgba(83, 137, 185, 0.65);
  outline: none;
}

.event-gallery-modal-body {
  position: relative;
  min-height: 0;
  padding: 1rem 1.35rem 1.35rem;
  overflow: hidden;
}

.event-gallery-controls {
  position: absolute;
  top: 1.85rem;
  right: 2.1rem;
  z-index: 3;
  display: inline-flex;
  gap: 0.42rem;
  padding: 0.34rem;
  border: 1px solid rgba(206, 220, 232, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 26px rgba(22, 52, 83, 0.12);
  backdrop-filter: blur(10px);
}

.event-gallery-control {
  width: 2.15rem;
  height: 2.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  background: #ffffff;
  color: #244d76;
  line-height: 1;
}

.event-gallery-control:hover:not(:disabled),
.event-gallery-control:focus-visible:not(:disabled) {
  color: #17324c;
  box-shadow: 0 7px 16px rgba(20, 58, 92, 0.15);
  outline: none;
}

.event-gallery-control:disabled {
  opacity: 0.42;
  cursor: default;
}

.event-gallery-wall {
  display: flex;
  gap: 1rem;
  height: calc(100vh - 7.35rem);
  min-height: 430px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(78, 130, 178, 0.72) rgba(224, 234, 243, 0.95);
  -webkit-overflow-scrolling: touch;
}

.event-gallery-wall::-webkit-scrollbar {
  height: 12px;
}

.event-gallery-wall::-webkit-scrollbar-track {
  background: rgba(224, 234, 243, 0.95);
  border-radius: 999px;
}

.event-gallery-wall::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, rgba(78, 130, 178, 0.82) 0%, rgba(130, 192, 238, 0.88) 100%);
  border: 2px solid rgba(224, 234, 243, 0.95);
  border-radius: 999px;
}

.event-gallery-slide {
  flex: 0 0 min(82vw, 980px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
  padding: 0.75rem;
  scroll-snap-align: center;
  border: 1px solid rgba(198, 213, 226, 0.9);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(17, 46, 80, 0.1);
}

.event-gallery-image {
  display: block;
  width: 100%;
  min-height: 0;
  flex: 1 1 auto;
  object-fit: contain;
  border-radius: 8px;
  background: #f6f9fc;
}

.event-gallery-caption {
  margin: 0.72rem 0 0;
  color: #536675;
  font-size: 0.9rem;
  line-height: 1.55;
}

.research-cfp-stack {
  margin-top: 0.2rem;
}

.research-cfp-card {
  align-items: center;
}

.research-cfp-media {
  align-self: stretch;
}

.research-poster-trigger {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  text-align: left;
}

.research-poster-trigger:focus-visible {
  outline: 2px solid rgba(63, 129, 196, 0.45);
  outline-offset: 6px;
}

.research-cfp-image {
  aspect-ratio: auto;
  max-height: 27rem;
  object-fit: contain;
  background: #f6f9fc;
}

.research-poster-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #5b7590;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.research-poster-hint::before {
  content: "+";
  font-size: 0.88rem;
}

.research-cfp-link-card {
  display: block;
  color: inherit;
}

.research-cfp-link-card:hover {
  color: inherit;
}

.research-cfp-link-card .event-feature-title {
  color: #214a74;
}

.research-cfp-link-card:hover .event-feature-title {
  color: #163858;
}

.research-cfp-meta,
.research-cfp-website {
  margin: 0.75rem 0 0;
  color: #5f6d79;
  font-size: 0.93rem;
  line-height: 1.68;
}

.research-cfp-website {
  color: #386894;
  word-break: break-word;
}

.research-poster-modal-content {
  border: none;
  border-radius: 0;
  min-height: 100vh;
  overflow: hidden;
  background: rgba(233, 241, 249, 0.99);
}

.research-poster-toolbar {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(247, 251, 255, 0.82);
  box-shadow:
    0 14px 28px rgba(17, 46, 80, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
}

.research-poster-close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 4;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: none;
  background: rgba(247, 251, 255, 0.82);
  color: #20456d;
  font-size: 1.55rem;
  line-height: 1;
  box-shadow:
    0 12px 24px rgba(17, 46, 80, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(12px);
  opacity: 0.9;
}

.research-poster-close:hover,
.research-poster-close:focus-visible {
  color: #173858;
  background: rgba(250, 253, 255, 0.92);
  box-shadow:
    0 14px 28px rgba(17, 46, 80, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  outline: none;
}

.research-poster-tool {
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.62rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(235, 244, 250, 0.96) 100%);
  color: #244d76;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.research-poster-tool:hover:not(:disabled),
.research-poster-tool:focus-visible:not(:disabled) {
  transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(250, 253, 255, 0.98) 0%, rgba(229, 240, 248, 0.98) 100%);
  box-shadow: 0 8px 18px rgba(17, 46, 80, 0.14);
  outline: none;
}

.research-poster-tool:disabled {
  opacity: 0.45;
  cursor: default;
}

.research-poster-tool-reset {
  min-width: 4.1rem;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.research-poster-modal-body {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  padding: 0.75rem;
  background: linear-gradient(180deg, rgba(243, 249, 253, 0.98) 0%, rgba(235, 243, 249, 0.98) 100%);
}

.research-poster-stage {
  position: relative;
  flex: 1 1 auto;
  height: calc(100vh - 1.5rem);
  overflow-x: auto;
  overflow-y: scroll;
  border-radius: 16px;
  min-height: calc(100vh - 1.5rem);
  cursor: default;
  touch-action: pan-y pan-x;
  background: linear-gradient(180deg, rgba(251, 253, 255, 0.98) 0%, rgba(243, 248, 252, 0.98) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 18px 36px rgba(21, 51, 83, 0.08);
  scrollbar-gutter: stable both-edges;
  scrollbar-width: thin;
  scrollbar-color: rgba(78, 130, 178, 0.72) rgba(224, 234, 243, 0.95);
}

.research-poster-stage::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

.research-poster-stage::-webkit-scrollbar-track {
  background: rgba(224, 234, 243, 0.95);
  border-left: 1px solid rgba(206, 219, 231, 0.9);
  border-radius: 999px;
}

.research-poster-stage::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(78, 130, 178, 0.82) 0%, rgba(130, 192, 238, 0.88) 100%);
  border: 2px solid rgba(224, 234, 243, 0.95);
  border-radius: 999px;
}

.research-poster-canvas {
  position: relative;
  min-width: min-content;
  margin: 0 auto;
  padding: 0.75rem 0;
}

.research-poster-modal-image {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  margin: 0 auto;
  border-radius: 12px;
  transition: width 180ms ease, height 180ms ease;
}

.research-poster-modal-note {
  display: none;
}

@media (max-width: 640px) {
  .research-poster-modal-body {
    padding: 0.55rem;
  }

  .research-poster-toolbar {
    top: 0.7rem;
    right: 0.7rem;
    gap: 0.28rem;
    padding: 0.28rem;
  }

  .research-poster-tool {
    min-width: 1.86rem;
    height: 1.86rem;
    padding: 0 0.52rem;
    font-size: 0.9rem;
  }

  .research-poster-tool-reset {
    min-width: 3.7rem;
    font-size: 0.74rem;
  }

  .research-poster-close {
    top: 0.7rem;
    left: 0.7rem;
    width: 2.15rem;
    height: 2.15rem;
  }

  .research-poster-stage {
    height: calc(100vh - 1.1rem);
    min-height: calc(100vh - 1.1rem);
  }
}

.archive-target-flash {
  box-shadow: 0 0 0 3px rgba(74, 120, 168, 0.16);
}

.support-intro p {
  margin: 0;
  color: #5f6d79;
  font-size: 1rem;
  line-height: 1.78;
}

.support-list {
  margin: 0.85rem 0 0;
  padding-left: 1.15rem;
}

.support-list li {
  margin-bottom: 0.45rem;
  color: #4c6377;
}

.support-list li:last-child {
  margin-bottom: 0;
}

.support-note {
  margin-top: 0.8rem;
}

.person-role-line {
  display: block;
}

.person-role-line + .person-role-line {
  margin-top: 0.08rem;
}

.publication-overview {
  margin-bottom: 1.3rem;
  row-gap: 1rem;
}

.research-publications {
  scroll-margin-top: 88px;
}

.publication-preview {
  margin-top: 2rem;
  padding-top: 0.2rem;
}

.publication-preview + .publication-preview {
  margin-top: 2.6rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(145, 194, 231, 0.28);
}

.publication-preview-heading h3 {
  margin: 0 0 1.2rem;
  color: #204261;
  font-size: clamp(1.22rem, 2vw, 1.48rem);
}

#journal-articles,
#conference-papers {
  scroll-margin-top: 88px;
}

.publication-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(252, 254, 255, 0.96) 0%, rgba(242, 249, 255, 0.96) 100%);
  border: 1px solid rgba(145, 194, 231, 0.32);
  box-shadow:
    0 10px 28px rgba(16, 44, 79, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.publication-stat-label {
  color: #547089;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.publication-stat-value {
  color: #17324c;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
}

.publication-list {
  margin: 0;
  padding-left: 1.75rem;
  counter-reset: publication-item;
}

.publication-list li {
  margin-bottom: 1.15rem;
  padding: 0 0 1.15rem 0.1rem;
  color: #42586c;
  font-size: 1rem;
  line-height: 1.82;
  border-bottom: 1px solid rgba(145, 194, 231, 0.24);
}

.publication-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.publication-list li::marker {
  color: #4e78a3;
  font-weight: 700;
}

.publication-list strong {
  color: #17324c;
}

.publication-list em {
  color: #1e4668;
  font-style: italic;
}

.pub-section ol {
  padding-left: 1.35rem;
}

.pub-section li {
  margin-bottom: 0.9rem;
}

.blog-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.blog-tag {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.48rem 0.85rem;
  border: 1px solid rgba(119, 175, 218, 0.34);
  border-radius: 999px;
  color: #4e6880;
  background: rgba(246, 251, 255, 0.92);
  font-size: 0.86rem;
  font-weight: 700;
}

.blog-tag.is-active {
  color: #ffffff;
  border-color: #4f7fa7;
  background: linear-gradient(135deg, #406f99, #5b8eb7);
  box-shadow: 0 8px 18px rgba(46, 94, 137, 0.18);
}

.blog-empty-panel {
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 2.4rem 1.5rem;
  border: 1px dashed rgba(111, 170, 216, 0.45);
  border-radius: 18px;
  text-align: center;
  background: linear-gradient(180deg, rgba(251, 254, 255, 0.92), rgba(241, 249, 255, 0.82));
}

.blog-empty-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  color: #3f739e;
  background: rgba(219, 239, 254, 0.9);
  font-size: 1.3rem;
}

.blog-empty-panel h3 {
  margin: 0 0 0.55rem;
  color: #204261;
  font-size: 1.22rem;
}

.blog-empty-panel p {
  max-width: 600px;
  margin: 0;
  color: #617688;
  line-height: 1.7;
}

.table-responsive {
  padding: 0.35rem 0.35rem 0;
  overflow: hidden;
}

.table {
  --bs-table-bg: transparent;
  --bs-table-striped-bg: rgba(233, 243, 252, 0.78);
  --bs-table-hover-bg: rgba(220, 236, 248, 0.86);
  margin-bottom: 0;
}

.table > :not(caption) > * > * {
  border-bottom-color: rgba(153, 193, 224, 0.32);
}

.table thead th {
  color: #204261;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.project-table td,
.project-table th {
  vertical-align: middle;
}

.project-table th:nth-child(3),
.project-table td:nth-child(3) {
  width: 7.2rem;
  white-space: nowrap;
  font-size: 0.92rem;
}

.project-table th:nth-child(4),
.project-table td:nth-child(4),
.project-table th:nth-child(5),
.project-table td:nth-child(5) {
  width: 6.25rem;
  white-space: nowrap;
  font-size: 0.88rem;
  color: #5d6f80;
}

.project-summary-row td {
  background: transparent;
}

.project-summary-row:hover td {
  background: rgba(238, 243, 247, 0.82);
}

.project-toggle {
  position: relative;
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 1.5em;
  padding: 0 1.7rem 0 0;
  border: 0;
  outline: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  appearance: none;
  box-shadow: none;
}

.project-toggle-title {
  display: block;
  box-sizing: border-box;
  width: 100%;
  color: #17324c;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.5;
}

.project-toggle::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  transform: translateY(-50%);
  color: #4b86bf;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
}

.project-toggle[aria-expanded="true"]::after {
  content: "-";
}

.project-toggle:focus-visible .project-toggle-title,
.project-toggle:hover .project-toggle-title {
  color: #2c465f;
}

.project-detail-row > td {
  padding: 0 0 0.9rem;
  border-bottom-color: rgba(153, 193, 224, 0.32);
  background: transparent;
}

.project-detail-panel {
  margin: 0.35rem 0 0;
  padding: 1.05rem 1.15rem;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(253, 254, 255, 0.98) 0%, rgba(247, 249, 251, 0.98) 100%);
  border: 1px solid rgba(212, 221, 229, 0.82);
  box-shadow:
    0 10px 24px rgba(24, 36, 49, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.project-detail-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.6fr);
  gap: 1.25rem 1.5rem;
}

.project-detail-grid.single-column {
  grid-template-columns: minmax(0, 1fr);
}

.project-detail-panel h3 {
  margin-bottom: 0.6rem;
  color: #42586a;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-detail-panel ul {
  margin: 0;
  padding-left: 1.15rem;
}

.project-detail-panel li,
.project-detail-panel p {
  color: #536473;
  margin-bottom: 0.38rem;
  font-size: 0.91rem;
  line-height: 1.62;
}

.project-detail-panel p:last-child,
.project-detail-panel li:last-child {
  margin-bottom: 0;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  margin-top: 0.2rem;
}

.project-meta p {
  margin: 0;
  white-space: nowrap;
  font-size: 0.88rem;
}

.project-meta strong {
  color: #465766;
}

.footer,
.nav-footer {
  background: transparent;
  color: #edf5fb;
}

.nav-footer {
  max-width: 1180px;
  margin: 0 auto 20px;
  border-radius: 18px;
  padding: 18px 26px;
  background: linear-gradient(90deg, rgba(10, 42, 72, 0.88) 0%, rgba(20, 73, 117, 0.8) 100%);
  border: 1px solid rgba(173, 220, 255, 0.16);
  box-shadow: 0 18px 44px rgba(7, 23, 41, 0.24);
}

.nav-footer a {
  color: #edf5fb;
}

.content.column-page,
.content.column-page::before,
.content-block,
.hero-panel,
.hero-cosmos-canvas,
.hero-cosmos-vignette,
.hero-image,
.about-image,
.feature-card,
.publication-card,
.person-card,
.empty-panel,
.table-responsive,
.feature-card::before,
.publication-card::before,
.person-card::before,
.empty-panel::before,
.table-responsive::before,
.person-photo,
.person-placeholder,
.news-card,
.news-card-image,
.homepage-update-art,
.homepage-update-art-image-asset,
.event-feature-card,
.event-feature-image,
.publication-stat,
.project-detail-panel,
.nav-footer {
  border-radius: 0 !important;
}

.news-card,
.event-feature-card {
  scroll-margin-top: 110px;
}

.btn-action,
.index-cta,
.index-cta::before,
.site-search-input,
.site-search-results,
.site-search-result,
.navbar-toggler {
  border-radius: 10px !important;
}

@media (max-width: 991px) {
  #quarto-content {
    padding-top: 42px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .content.column-page {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .content-block {
    padding: 22px 18px 18px;
  }

  .hero-panel {
    padding: 24px 20px 20px;
  }

  .hero-cosmos-canvas,
  .hero-cosmos-vignette {
    border-radius: 18px;
  }

  .hero-copy {
    min-height: 180px;
  }

  .hero-title {
    max-width: none;
    font-size: 2.3rem;
  }

  .hero-button-row {
    text-align: center;
  }

  .homepage-highlights-slide {
    flex-basis: calc((100% - 1.15rem) / 2);
  }

  .navbar-collapse {
    align-items: stretch;
  }

  .site-search {
    width: 100%;
    max-width: none;
    margin-top: 0.55rem;
  }

  .language-switcher {
    width: 100%;
    margin-top: 0.55rem;
  }

  .language-switcher-button {
    width: 100%;
    justify-content: center;
  }

  .language-switcher-menu {
    width: 100%;
  }

  .news-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .event-feature-card {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .event-gallery-preview-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .project-detail-grid {
    grid-template-columns: 1fr;
  }

  .project-meta p {
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .homepage-highlights-slide {
    flex-basis: 100%;
  }

  .news-card-grid {
    grid-template-columns: 1fr;
  }

  .event-feature-media {
    grid-template-columns: 1fr;
  }

  .event-gallery-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .event-gallery-header {
    align-items: flex-start;
    padding: 0.85rem 1rem;
  }

  .event-gallery-title {
    font-size: 1rem;
  }

  .event-gallery-modal-body {
    padding: 0.85rem 0.85rem 1rem;
  }

  .event-gallery-controls {
    top: auto;
    right: 1rem;
    bottom: 1.55rem;
  }

  .event-gallery-wall {
    height: calc(100vh - 7.4rem);
    min-height: 360px;
    gap: 0.72rem;
  }

  .event-gallery-slide {
    flex-basis: 88vw;
    padding: 0.55rem;
  }

  .event-gallery-caption {
    font-size: 0.82rem;
  }

  .homepage-update-card .news-card-title,
  .homepage-update-card .news-card-text {
    min-height: 0;
  }

}

/* Blog index and long-form articles */
.blog-post-list {
  display: grid;
  gap: 1.25rem;
}

.blog-post-card {
  display: grid;
  grid-template-columns: minmax(340px, 1.08fr) minmax(0, 1.32fr);
  align-items: center;
  min-height: 310px;
  overflow: hidden;
  border: 1px solid rgba(119, 175, 218, 0.28);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 38px rgba(20, 55, 84, 0.09);
}

.blog-post-image {
  display: block;
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0b2135;
}

.blog-post-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  transition: filter 180ms ease;
}

.blog-post-image:hover img {
  filter: brightness(1.04);
}

.blog-post-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.4rem, 3vw, 2.3rem);
}

.blog-post-meta,
.blog-post-footer,
.article-meta,
.article-labels {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.blog-post-meta {
  gap: 0.55rem 1rem;
  margin-bottom: 0.8rem;
  color: #668097;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.blog-post-meta span {
  color: #2f628e;
}

.blog-post-content h3 {
  margin: 0;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  line-height: 1.18;
}

.blog-post-content h3 a {
  color: #17324c;
  text-decoration: none;
}

.blog-post-content h3 a:hover {
  color: #2e6595;
}

.blog-post-content > p {
  margin: 1rem 0 1.35rem;
  color: #536b80;
  font-size: 1rem;
  line-height: 1.72;
}

.blog-post-footer {
  justify-content: space-between;
  gap: 0.8rem 1.5rem;
  color: #6c8193;
  font-size: 0.86rem;
}

.blog-card-cta {
  min-width: 122px;
  padding: 0.52rem 0.78rem;
  gap: 0.38rem;
  font-size: 0.66rem;
  letter-spacing: 0.085em;
  box-shadow:
    0 8px 16px rgba(10, 31, 54, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    inset 0 0 11px rgba(120, 214, 255, 0.1);
}

.blog-card-cta::after {
  font-size: 0.74rem;
}

.blog-card-cta:hover {
  box-shadow:
    0 10px 19px rgba(10, 31, 54, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    inset 0 0 14px rgba(120, 214, 255, 0.14);
}

.blog-article-page .content.column-page {
  padding-top: 32px;
}

.article-title-block {
  margin: 0 0 1.6rem;
  padding: 0 0 clamp(1.7rem, 3vw, 2.5rem);
  border-bottom: 1px solid rgba(74, 133, 179, 0.16);
}

.article-title-block .archive-return {
  margin-bottom: 1.5rem;
}

.article-title-inner {
  max-width: 930px;
  margin: 0 auto;
  text-align: center;
}

.article-labels {
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.article-labels span {
  padding: 0.36rem 0.68rem;
  border: 1px solid rgba(104, 164, 209, 0.36);
  border-radius: 999px;
  color: #37688f;
  background: rgba(240, 248, 254, 0.9);
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.article-title-block h1 {
  max-width: 900px;
  margin: 0 auto;
  color: #132e47;
  font-size: clamp(2.5rem, 5.4vw, 4.65rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.article-deck {
  max-width: 790px;
  margin: 1.2rem auto 1.25rem;
  color: #556f84;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.62;
}

.article-meta {
  justify-content: center;
  gap: 0.45rem 0;
  color: #718696;
  font-size: 0.87rem;
  font-weight: 650;
}

.article-meta span + span::before {
  content: "·";
  margin: 0 0.65rem;
  color: #9aabb8;
}

.blog-article {
  position: relative;
}

.article-hero-figure {
  max-width: 1160px;
  margin: 0 auto 3.5rem;
}

.article-hero-figure img {
  display: block;
  width: 100%;
  max-height: 650px;
  object-fit: cover;
}

.article-hero-figure figcaption,
.article-figure figcaption {
  color: #6c7e8d;
  font-size: 0.82rem;
  line-height: 1.55;
}

.article-hero-figure figcaption {
  margin-top: 0.65rem;
}

.article-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 760px);
  justify-content: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.article-toc {
  align-self: start;
  position: sticky;
  top: 110px;
  padding: 1rem 0 1rem 1rem;
  border-left: 2px solid rgba(111, 170, 216, 0.34);
}

.article-toc > p {
  margin: 0 0 0.75rem;
  color: #264e70;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.article-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-toc li + li {
  margin-top: 0.55rem;
}

.article-toc a {
  color: #6a7d8d;
  font-size: 0.82rem;
  line-height: 1.35;
  text-decoration: none;
}

.article-toc a:hover {
  color: #2f628e;
}

.article-body {
  min-width: 0;
  color: #334e64;
  font-size: 1.045rem;
  line-height: 1.84;
}

.article-body a {
  color: #28628f;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.article-body p {
  margin: 0 0 1.3rem;
}

.article-lead {
  color: #2d4c65;
  font-size: clamp(1.16rem, 2vw, 1.34rem);
  line-height: 1.72;
}

.article-thesis {
  margin: 2rem 0 2.2rem;
  padding: 1.5rem 1.65rem;
  border: 0;
  border-left: 5px solid #4f86b4;
  background: linear-gradient(90deg, rgba(229, 243, 253, 0.88), rgba(247, 252, 255, 0.62));
}

.article-thesis p {
  margin: 0;
  color: #183b59;
  font-size: clamp(1.35rem, 2.7vw, 1.85rem);
  font-weight: 750;
  line-height: 1.45;
}

.article-body section {
  scroll-margin-top: 105px;
  margin-top: 4.5rem;
}

.article-section-number {
  margin-bottom: 0.42rem !important;
  color: #4a7ca5;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-body h2 {
  margin: 0 0 1.3rem;
  color: #17324c;
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.article-body h3 {
  margin: 2.1rem 0 0.75rem;
  color: #204261;
  font-size: 1.35rem;
  line-height: 1.3;
}

.article-glossary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 1.7rem 0 2rem;
  padding: 1px;
  background: rgba(119, 175, 218, 0.28);
}

.article-glossary > div {
  padding: 1.25rem 1.35rem;
  background: rgba(250, 253, 255, 0.98);
}

.article-glossary dt {
  color: #1f4f77;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.article-glossary dd {
  margin: 0.38rem 0 0;
  color: #536b7e;
  font-size: 0.92rem;
  line-height: 1.62;
}

.agent-loop {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  gap: 0.45rem;
  margin: 2rem 0;
  padding: 1.4rem;
  border: 1px solid rgba(103, 164, 211, 0.26);
  background: #f7fbfe;
}

.agent-loop > div {
  display: flex;
  flex-direction: column;
  min-height: 112px;
  padding: 0.8rem;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(26, 65, 96, 0.06);
}

.agent-loop div span {
  color: #5e8db2;
  font-size: 0.72rem;
  font-weight: 800;
}

.agent-loop div strong {
  margin-top: auto;
  color: #234866;
  font-size: 0.9rem;
}

.agent-loop div small {
  color: #718698;
  font-size: 0.7rem;
}

.agent-loop > b {
  color: #74a1c3;
  font-size: 1.15rem;
}

.agent-loop .loop-back {
  font-size: 1.5rem;
}

.article-callout {
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  gap: 1.35rem;
  margin: 1.8rem 0 2rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid rgba(107, 169, 216, 0.3);
  background: linear-gradient(135deg, rgba(239, 248, 255, 0.96), rgba(250, 253, 255, 0.96));
}

.article-callout img {
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.article-callout h3 {
  margin: 0 0 0.35rem;
}

.article-callout p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.67;
}

.article-table-wrap {
  overflow-x: auto;
  margin: 1.75rem 0 2rem;
  border: 1px solid rgba(119, 175, 218, 0.28);
}

.article-table {
  width: 100%;
  min-width: 560px;
  margin: 0;
  border-collapse: collapse;
  font-size: 0.9rem;
  line-height: 1.55;
}

.article-table th,
.article-table td {
  padding: 0.82rem 1rem;
  border-bottom: 1px solid rgba(119, 175, 218, 0.2);
  text-align: left;
  vertical-align: top;
}

.article-table th {
  color: #234866;
  background: #edf6fc;
  font-size: 0.76rem;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.article-table tr:last-child td {
  border-bottom: 0;
}

.article-table td:first-child {
  color: #234866;
  font-weight: 700;
}

.article-table code,
.article-figure code {
  color: #285a82;
  background: rgba(221, 238, 250, 0.7);
}

.article-figure {
  margin: 2rem 0;
}

.article-figure img {
  display: block;
  width: 100%;
  border: 1px solid rgba(119, 175, 218, 0.24);
  background: #f6f9fb;
}

.article-figure figcaption {
  margin-top: 0.65rem;
}

.article-figure-wide {
  margin-left: -6%;
  margin-right: -6%;
}

.subagent-diagram {
  margin: 1.8rem 0 2rem;
  padding: 1.4rem;
  border: 1px solid rgba(110, 171, 216, 0.28);
  background: #f7fbfe;
}

.subagent-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(270px, 100%);
  margin: 0 auto 1rem;
  padding: 0.9rem 1.1rem;
  color: #ffffff;
  background: linear-gradient(135deg, #2f648f, #5a8eb7);
}

.subagent-diagram small {
  font-size: 0.74rem;
  opacity: 0.82;
}

.subagent-branches {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.subagent-branches > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 112px;
  padding: 0.85rem;
  text-align: center;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(26, 65, 96, 0.06);
}

.subagent-branches span {
  color: #75a2c4;
  font-size: 1.25rem;
}

.subagent-branches strong {
  margin-top: auto;
  color: #264e70;
  font-size: 0.88rem;
}

.subagent-branches small {
  color: #718698;
}

.article-two-column,
.article-image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.8rem 0 2rem;
}

.article-two-column > div {
  padding: 1.25rem 1.35rem;
  border-top: 3px solid #6da3cb;
  background: #f5fafe;
}

.article-two-column h3 {
  margin: 0 0 0.5rem;
}

.article-two-column p {
  margin: 0;
  color: #536b7e;
  font-size: 0.9rem;
  line-height: 1.65;
}

.article-strategy-list {
  margin: 1.7rem 0 2rem;
  padding: 0;
  list-style: none;
  counter-reset: strategy;
}

.article-strategy-list li {
  position: relative;
  margin-bottom: 0.75rem;
  padding: 1rem 1.1rem 1rem 3.6rem;
  border-bottom: 1px solid rgba(112, 171, 215, 0.24);
  background: rgba(248, 252, 255, 0.8);
  counter-increment: strategy;
}

.article-strategy-list li::before {
  content: "0" counter(strategy);
  position: absolute;
  left: 1rem;
  top: 1rem;
  color: #5c8db3;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.article-highlight {
  margin: 2.2rem 0;
  padding: 1.4rem 1.6rem;
  border-top: 1px solid rgba(78, 130, 171, 0.35);
  border-bottom: 1px solid rgba(78, 130, 171, 0.35);
  text-align: center;
}

.article-highlight p {
  margin: 0;
  color: #264c6b;
  font-size: 1.08rem;
}

.safety-layers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.8rem 0 2rem;
}

.safety-layers > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.05rem 0.8rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(112, 171, 215, 0.24);
  background: #f8fbfd;
}

.safety-layers span {
  grid-row: 1 / span 2;
  color: #6a9abf;
  font-size: 0.72rem;
  font-weight: 800;
}

.safety-layers strong {
  color: #284d6c;
  font-size: 0.9rem;
}

.safety-layers small {
  color: #718698;
  font-size: 0.78rem;
  line-height: 1.45;
}

.article-image-grid {
  align-items: start;
  margin-top: 2rem;
}

.article-image-grid .article-figure {
  margin: 0;
}

.article-conclusion {
  padding: 2rem;
  border: 1px solid rgba(102, 164, 211, 0.28);
  background:
    radial-gradient(circle at 100% 0%, rgba(92, 166, 219, 0.15), transparent 35%),
    linear-gradient(145deg, rgba(242, 249, 254, 0.98), rgba(252, 254, 255, 0.96));
}

.article-conclusion p:last-child {
  margin-bottom: 0;
}

.article-references {
  margin-top: 3.5rem !important;
  padding-top: 1.7rem;
  border-top: 1px solid rgba(111, 170, 216, 0.3);
}

.article-references h2 {
  font-size: 1.55rem;
}

.article-references ul {
  margin: 0;
  padding-left: 1.2rem;
}

.article-references li {
  margin-bottom: 0.5rem;
  color: #5f7588;
  font-size: 0.88rem;
  line-height: 1.5;
}

@media (max-width: 991px) {
  .blog-post-card {
    grid-template-columns: minmax(300px, 1fr) minmax(0, 1.15fr);
    min-height: 285px;
  }

  .blog-post-image,
  .blog-post-image img {
    min-height: 0;
  }

  .article-layout {
    grid-template-columns: minmax(0, 760px);
  }

  .article-toc {
    position: static;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(111, 170, 216, 0.28);
  }

  .article-toc ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1rem;
  }

  .article-toc li + li {
    margin-top: 0;
  }

  .article-hero-figure {
    margin-bottom: 2rem;
  }
}

@media (max-width: 700px) {
  .blog-post-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .blog-post-image,
  .blog-post-image img {
    min-height: 0;
    max-height: none;
  }

  .blog-post-content {
    padding: 1.3rem;
  }

  .article-title-block h1 {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
  }

  .article-labels span {
    font-size: 0.66rem;
  }

  .article-meta span:last-child {
    flex-basis: 100%;
    margin-top: 0.25rem;
  }

  .article-meta span:last-child::before {
    content: none;
  }

  .article-hero-figure img {
    min-height: 250px;
  }

  .article-body {
    font-size: 1rem;
    line-height: 1.78;
  }

  .article-body section {
    margin-top: 3.5rem;
  }

  .article-glossary,
  .article-two-column,
  .article-image-grid,
  .safety-layers {
    grid-template-columns: 1fr;
  }

  .agent-loop {
    grid-template-columns: 1fr;
  }

  .agent-loop > b {
    justify-self: center;
    transform: rotate(90deg);
  }

  .agent-loop .loop-back {
    transform: none;
  }

  .agent-loop > div {
    min-height: 88px;
  }

  .article-callout {
    grid-template-columns: 64px 1fr;
    align-items: start;
    padding: 1rem;
  }

  .article-callout img {
    width: 64px;
    height: 64px;
  }

  .article-figure-wide {
    margin-left: 0;
    margin-right: 0;
  }

  .subagent-branches {
    grid-template-columns: 1fr;
  }

  .subagent-branches > div {
    min-height: 92px;
  }

  .article-conclusion {
    padding: 1.35rem;
  }
}

/* Numbered chapters as self-contained editorial cards */
.blog-article-page .article-main-section {
  box-sizing: border-box;
  padding: clamp(1.6rem, 3.4vw, 2.35rem);
  border: 1px solid rgba(102, 164, 211, 0.28);
  background:
    radial-gradient(circle at 100% 0%, rgba(92, 166, 219, 0.15), transparent 35%),
    linear-gradient(145deg, rgba(242, 249, 254, 0.98), rgba(252, 254, 255, 0.96));
  box-shadow: 0 18px 42px rgba(20, 55, 84, 0.08);
}

.blog-article-page .article-main-section .article-figure-wide {
  width: 100%;
  margin-right: 0;
  margin-left: 0;
}

.blog-article-page .article-main-section > p:last-child {
  margin-bottom: 0;
}

@media (max-width: 700px) {
  .blog-article-page .article-main-section {
    padding: 1.35rem;
  }
}

/* Revised editorial layout: wider reading column and original PPT diagrams */
.article-title-inner {
  max-width: 980px;
  text-align: left;
}

.article-labels,
.article-meta {
  justify-content: flex-start;
}

.article-title-block h1 {
  max-width: 880px;
  margin-left: 0;
  font-size: clamp(2.55rem, 4.7vw, 4.05rem);
  line-height: 1.06;
}

.article-deck {
  max-width: 820px;
  margin-left: 0;
  margin-right: 0;
}

.article-layout {
  display: block;
  max-width: 860px;
  margin: 0 auto;
}

.article-toc {
  position: static;
  margin: 0 0 3.2rem;
  padding: 1.05rem 0;
  border: 0;
  border-top: 1px solid rgba(111, 170, 216, 0.32);
  border-bottom: 1px solid rgba(111, 170, 216, 0.32);
}

.article-toc ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 2rem;
}

.article-toc li + li {
  margin-top: 0;
}

.article-toc a {
  display: block;
  font-size: 0.86rem;
}

.article-body section {
  margin-top: 5rem;
}

.article-figure-wide {
  width: calc(100% + 120px);
  margin-left: -60px;
  margin-right: -60px;
}

.article-slide-figure {
  margin-top: 2.25rem;
  margin-bottom: 2.55rem;
}

.article-slide-figure img {
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border: 0;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(20, 55, 84, 0.12);
}

.article-slide-figure figcaption {
  max-width: 92%;
  margin-top: 0.85rem;
  padding-left: 0.9rem;
  border-left: 2px solid rgba(75, 132, 176, 0.42);
}

.article-evidence-figure {
  max-width: 690px;
  margin: 2.2rem auto 2.6rem;
}

.article-evidence-figure img {
  object-fit: contain;
}

@media (max-width: 1100px) {
  .article-figure-wide {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 700px) {
  .article-title-inner {
    text-align: left;
  }

  .article-labels,
  .article-meta {
    justify-content: flex-start;
  }

  .article-toc {
    margin-bottom: 2.5rem;
  }

  .article-toc ol {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .article-slide-figure figcaption {
    max-width: 100%;
  }
}

.article-body .article-literary-close {
  position: relative;
  width: calc(100% + 120px);
  margin: 5rem -60px 0;
  padding: clamp(2.8rem, 6vw, 4.8rem);
  overflow: hidden;
  color: #f4f8fb;
  background:
    radial-gradient(ellipse at 86% 2%, rgba(59, 126, 205, 0.36), transparent 42%),
    radial-gradient(ellipse at 8% 108%, rgba(74, 62, 151, 0.28), transparent 46%),
    linear-gradient(145deg, #02050c 0%, #071326 48%, #0a1d38 72%, #020711 100%);
  border: 1px solid rgba(130, 184, 231, 0.2);
  box-shadow: 0 28px 65px rgba(3, 13, 28, 0.28);
}

.article-literary-close::before {
  content: "“";
  position: absolute;
  z-index: 1;
  top: -3.1rem;
  left: 1.2rem;
  color: rgba(157, 207, 247, 0.1);
  font-family: var(--extend-site-font);
  font-size: 14rem;
  line-height: 1;
}

.article-literary-close::after {
  content: none;
}

.article-literary-kicker {
  position: relative;
  z-index: 2;
  margin: 0 0 1.5rem;
  color: #9fd5fb;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.article-literary-close blockquote {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0;
  padding: 0;
  border: 0;
}

.article-literary-close blockquote p {
  margin: 0;
  color: #f4f8ff;
  font-family: var(--extend-site-font);
  font-size: clamp(1.18rem, 2.05vw, 1.58rem);
  font-weight: 400;
  line-height: 1.68;
  letter-spacing: 0.002em;
  text-shadow: 0 1px 18px rgba(143, 197, 243, 0.08);
}

.article-literary-close blockquote span {
  display: block;
}

.article-literary-close cite {
  display: block;
  margin-top: 1.7rem;
  color: #a9c6df;
  font-size: 0.82rem;
  font-style: normal;
  letter-spacing: 0.025em;
}

.article-literary-close cite em {
  font-style: normal;
}

.article-literary-close cite a {
  color: inherit;
  text-decoration-color: rgba(169, 198, 223, 0.55);
}

.article-literary-close cite a:hover {
  color: #d6eaff;
}

@media (max-width: 700px) {
  .article-body .article-literary-close {
    width: 100%;
    margin: 4rem 0 0;
    padding: 2.4rem 1.35rem 2.6rem;
  }

  .article-literary-close::before {
    left: 0.55rem;
    font-size: 9rem;
  }

  .article-literary-close blockquote p {
    font-size: 1.08rem;
    line-height: 1.64;
  }
}

@media (min-width: 701px) and (max-width: 1100px) {
  .article-body .article-literary-close {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

/* PPT-aligned article hierarchy */
.article-toc .article-toc-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
  gap: 0.55rem 2.5rem;
}

.article-toc-main > li {
  min-width: 0;
}

.article-toc-main > li:nth-child(3),
.article-toc-main > li:nth-child(4),
.article-toc-main > li:nth-child(5) {
  grid-column: 1;
}

.article-toc-main > li:nth-child(3) {
  grid-row: 2;
}

.article-toc-main > li:nth-child(4) {
  grid-row: 3;
}

.article-toc-main > li:nth-child(5) {
  grid-row: 4;
}

.article-toc-openclaw {
  grid-column: 2;
  grid-row: 1 / span 4;
}

.article-toc-main > li > a {
  color: #315e82;
  font-weight: 760;
}

.article-toc-openclaw ul {
  margin: 0.55rem 0 0;
  padding: 0 0 0 0.9rem;
  border-left: 2px solid rgba(96, 156, 201, 0.3);
  list-style: none;
}

.article-toc-openclaw ul li + li {
  margin-top: 0.34rem;
}

.article-toc-openclaw ul a {
  color: #718493;
  font-size: 0.8rem;
  font-weight: 560;
}

.article-main-section {
  margin-top: 5.2rem !important;
}

.article-openclaw-section > .article-subsection {
  margin-top: 3.5rem !important;
  padding-top: 2rem;
  border-top: 1px solid rgba(103, 164, 211, 0.28);
}

.article-subsection-label {
  margin: 0 0 0.38rem !important;
  color: #5d89aa;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.115em;
  text-transform: uppercase;
}

.article-subsection > h3 {
  margin: 0 0 1.15rem;
  color: #1b405f;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.18;
  letter-spacing: -0.018em;
}

.article-body h4 {
  margin: 2.1rem 0 0.75rem;
  color: #244c6b;
  font-size: 1.18rem;
  line-height: 1.35;
}

.article-two-column h4 {
  margin: 0 0 0.5rem;
}

@media (max-width: 700px) {
  .article-toc .article-toc-main {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .article-toc-main > li,
  .article-toc-main > li:nth-child(3),
  .article-toc-main > li:nth-child(4),
  .article-toc-main > li:nth-child(5),
  .article-toc-openclaw {
    grid-column: 1;
    grid-row: auto;
  }

  .article-openclaw-section > .article-subsection {
    margin-top: 2.9rem !important;
    padding-top: 1.55rem;
  }
}

/* Legacy floating index layout retained for reference but disabled. */
@media (min-width: 99999px) {
  .blog-article-page .article-layout {
    display: block;
    max-width: 860px;
  }

  .blog-article-page .article-body {
    display: block;
  }

  .blog-article-page .article-toc {
    position: sticky;
    top: 76px;
    z-index: 40;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 1.2rem;
    width: min(1160px, calc(100vw - 64px));
    margin: 0 auto 2.5rem;
    padding: 0.72rem 1rem;
    overflow: visible;
    border: 1px solid rgba(99, 156, 200, 0.3);
    background: rgba(249, 253, 255, 0.96);
    box-shadow: 0 12px 28px rgba(19, 54, 82, 0.13);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .blog-article-page .article-toc > p {
    margin: 0;
    color: #315e82;
    font-size: 0.7rem;
    letter-spacing: 0.11em;
    white-space: nowrap;
  }

  .blog-article-page .article-toc .article-toc-main {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(0.55rem, 1.4vw, 1.15rem);
  }

  .blog-article-page .article-toc-main > li,
  .blog-article-page .article-toc-main > li:nth-child(3),
  .blog-article-page .article-toc-main > li:nth-child(4),
  .blog-article-page .article-toc-main > li:nth-child(5),
  .blog-article-page .article-toc-openclaw {
    grid-column: auto;
    grid-row: auto;
  }

  .blog-article-page .article-toc-main > li + li {
    margin-top: 0;
  }

  .blog-article-page .article-toc-main > li > a {
    color: #315e82;
    font-size: clamp(0.7rem, 0.75vw, 0.78rem);
    font-weight: 720;
    line-height: 1.3;
    white-space: nowrap;
  }

  .blog-article-page .article-toc a {
    transition: color 160ms ease, transform 160ms ease;
  }

  .blog-article-page .article-toc a:hover,
  .blog-article-page .article-toc a:focus-visible {
    color: #183f64;
  }

  .blog-article-page .article-toc-openclaw {
    position: relative;
  }

  .blog-article-page .article-toc-openclaw > a::after {
    content: "  ▾";
    color: #7194af;
    font-size: 0.68em;
  }

  .blog-article-page .article-toc-openclaw ul {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: -0.9rem;
    z-index: 50;
    min-width: 230px;
    margin: 0;
    padding: 0.8rem 0.9rem;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-5px);
    border: 1px solid rgba(99, 156, 200, 0.28);
    background: rgba(250, 253, 255, 0.98);
    box-shadow: 0 16px 34px rgba(19, 54, 82, 0.16);
    transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
  }

  .blog-article-page .article-toc-openclaw ul::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    height: 0.75rem;
  }

  .blog-article-page .article-toc-openclaw:hover ul,
  .blog-article-page .article-toc-openclaw:focus-within ul {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .blog-article-page .article-toc-openclaw ul li + li {
    margin-top: 0.48rem;
  }

  .blog-article-page .article-toc-openclaw ul a {
    color: #718493;
    font-size: 0.77rem;
    font-weight: 540;
    line-height: 1.4;
  }

  .blog-article-page .article-main-section,
  .blog-article-page .article-subsection {
    scroll-margin-top: 158px;
  }
}

/* Legacy right-rail index layout retained for reference but disabled. */
@media (min-width: 99999px) {
  .blog-article-page #quarto-content {
    width: calc(100% - 256px);
    max-width: 1240px;
    margin-right: 236px;
    margin-left: auto;
  }

  .blog-article-page .article-layout {
    display: block;
    max-width: 860px;
  }

  .blog-article-page .article-toc {
    position: fixed;
    top: 94px;
    right: 12px;
    z-index: 40;
    display: block;
    width: 208px;
    max-height: calc(100vh - 118px);
    margin: 0;
    padding: 1rem 0.85rem 1.05rem;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid rgba(99, 156, 200, 0.28);
    background: rgba(249, 253, 255, 0.96);
    box-shadow: 0 14px 32px rgba(19, 54, 82, 0.14);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    scrollbar-width: thin;
    scrollbar-color: rgba(83, 139, 181, 0.32) transparent;
  }

  .blog-article-page .article-toc > p {
    margin: 0 0 0.85rem;
    color: #315e82;
    font-size: 0.68rem;
    letter-spacing: 0.11em;
  }

  .blog-article-page .article-toc .article-toc-main {
    display: block;
  }

  .blog-article-page .article-toc-main > li,
  .blog-article-page .article-toc-main > li:nth-child(3),
  .blog-article-page .article-toc-main > li:nth-child(4),
  .blog-article-page .article-toc-main > li:nth-child(5),
  .blog-article-page .article-toc-openclaw {
    grid-column: auto;
    grid-row: auto;
  }

  .blog-article-page .article-toc-main > li + li {
    margin-top: 0.68rem;
  }

  .blog-article-page .article-toc-main > li > a {
    color: #315e82;
    font-size: 0.78rem;
    font-weight: 720;
    line-height: 1.38;
  }

  .blog-article-page .article-toc a {
    transition: color 150ms ease, transform 150ms ease;
  }

  .blog-article-page .article-toc a:hover,
  .blog-article-page .article-toc a:focus-visible {
    color: #183f64;
    transform: translateX(2px);
  }

  .blog-article-page .article-toc-openclaw {
    position: static;
  }

  .blog-article-page .article-toc-openclaw > a::after {
    content: none;
  }

  .blog-article-page .article-toc-openclaw ul {
    position: static;
    min-width: 0;
    margin: 0.58rem 0 0;
    padding: 0 0 0 0.75rem;
    visibility: visible;
    opacity: 1;
    transform: none;
    border: 0;
    border-left: 1px solid rgba(96, 156, 201, 0.32);
    background: transparent;
    box-shadow: none;
    transition: none;
  }

  .blog-article-page .article-toc-openclaw ul::before {
    content: none;
  }

  .blog-article-page .article-toc-openclaw ul li + li {
    margin-top: 0.38rem;
  }

  .blog-article-page .article-toc-openclaw ul a {
    color: #718493;
    font-size: 0.73rem;
    font-weight: 540;
    line-height: 1.4;
  }

  .blog-article-page .article-main-section,
  .blog-article-page .article-subsection {
    scroll-margin-top: 112px;
  }
}

/* Stronger hierarchy between numbered chapters and OpenClaw subsections */
.blog-article-page .article-main-section > .article-section-number {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 0.85rem !important;
  padding: 0.34rem 0.68rem;
  color: #ffffff;
  background: linear-gradient(135deg, #244f74, #4e82aa);
  border-radius: 999px;
  box-shadow: 0 7px 16px rgba(32, 75, 111, 0.16);
  font-size: 0.7rem;
  letter-spacing: 0.13em;
}

.blog-article-page .article-main-section > h2 {
  margin-bottom: 1.45rem;
  padding-bottom: 0.95rem;
  border-bottom: 2px solid rgba(70, 128, 173, 0.3);
  color: #132f49;
  font-size: clamp(2.3rem, 4.2vw, 3.1rem);
  font-weight: 780;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.blog-article-page .article-openclaw-section > .article-subsection {
  margin-top: 3.7rem !important;
  padding: 1.95rem 0 0;
  border-top: 1px solid rgba(103, 164, 211, 0.24);
}

.blog-article-page .article-subsection > .article-subsection-label {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  margin: 0 0 0.62rem 1.2rem !important;
  padding: 0.26rem 0.56rem;
  color: #3f7097;
  border: 1px solid rgba(86, 151, 200, 0.28);
  border-radius: 999px;
  background: rgba(235, 246, 254, 0.88);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
}

.blog-article-page .article-subsection > h3 {
  margin: 0 0 1.15rem;
  padding-left: 1.2rem;
  color: #234a69;
  border-left: 3px solid rgba(74, 137, 185, 0.58);
  font-size: clamp(1.5rem, 2.55vw, 1.9rem);
  font-weight: 720;
  line-height: 1.22;
  letter-spacing: -0.015em;
}

@media (max-width: 700px) {
  .blog-article-page .article-main-section > h2 {
    font-size: clamp(2rem, 9vw, 2.5rem);
  }

  .blog-article-page .article-openclaw-section > .article-subsection {
    margin-top: 3rem !important;
    padding: 1.5rem 0 0;
  }

  .blog-article-page .article-subsection > .article-subsection-label {
    margin-left: 0.85rem !important;
  }

  .blog-article-page .article-subsection > h3 {
    padding-left: 0.85rem;
    border-left-width: 2px;
    font-size: 1.48rem;
  }
}

/* VLA article: keep the detailed Part 03 index in the second column. */
.vla-article-page .article-toc-main > li:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}

.vla-article-page .article-toc-main > li:nth-child(2) {
  grid-column: 1;
  grid-row: 2;
}

.vla-article-page .article-toc-main > li:nth-child(4) {
  grid-column: 1;
  grid-row: 3;
}

.vla-article-page .article-toc-main > .article-toc-vla {
  grid-column: 2;
  grid-row: 1 / span 3;
}

.vla-article-page .article-toc-vla > a {
  color: #315e82;
  font-weight: 760;
}

.vla-article-page .article-toc-vla ul {
  margin: 0.55rem 0 0;
  padding: 0 0 0 0.9rem;
  border-left: 2px solid rgba(96, 156, 201, 0.3);
  list-style: none;
}

.vla-article-page .article-toc-vla ul li + li {
  margin-top: 0.34rem;
}

.vla-article-page .article-toc-vla ul a {
  color: #718493;
  font-size: 0.8rem;
  font-weight: 560;
}

@media (max-width: 700px) {
  .vla-article-page .article-toc-main > li:nth-child(1),
  .vla-article-page .article-toc-main > li:nth-child(2),
  .vla-article-page .article-toc-main > li:nth-child(4),
  .vla-article-page .article-toc-main > .article-toc-vla {
    grid-column: 1;
    grid-row: auto;
  }
}

/* Gill Sans MT across every page and all HTML interface content. */
html,
body,
body *,
button,
input,
select,
textarea,
optgroup,
.article-literary-close::before {
  font-family: var(--extend-site-font) !important;
}

/* Explicit Insights typography coverage for headings, indices, and labels. */
.quarto-title .subtitle,
.blog-content .blog-post-meta,
.blog-content .blog-post-content h3,
.blog-content .blog-post-content > p,
.blog-content .blog-post-footer,
.blog-article-page .article-labels,
.blog-article-page .article-deck,
.blog-article-page .article-meta,
.blog-article-page .article-toc,
.blog-article-page .article-toc *,
.blog-article-page .article-section-number,
.blog-article-page .article-main-section > h2,
.blog-article-page .article-subsection-label,
.blog-article-page .article-subsection > h3 {
  font-family: "Gill Sans MT", "Gill Sans", "Trebuchet MS", Arial, sans-serif !important;
}
