body {
  min-height: 100vh;
  background: #ffffff;
  color: #1d2b3a;
  font-family: "Avenir Next", "SF Pro Display", "Helvetica Neue", "Segoe UI", sans-serif;
}

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: "Avenir Next", "SF Pro Display", "Helvetica Neue", "Segoe UI", sans-serif;
  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: "Avenir Next", "SF Pro Display", "Helvetica Neue", "Segoe UI", sans-serif;
}

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

.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-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-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;
}

.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;
}

.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;
}

.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 {
  width: 100%;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  appearance: none;
  box-shadow: none;
}

.project-toggle-title {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #17324c;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.5;
}

.project-toggle-title::after {
  content: "+";
  display: inline-block;
  color: #4b86bf;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
}

.project-toggle[aria-expanded="true"] .project-toggle-title::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;
  }

  .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;
  }

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

}
