:root {
  --blue: #124891;
  --blue-dark: #0d3770;
  --green: #89b890;
  --green-dark: #6FAF8F;
  --text: #10161a;
  --muted: #4d5a66;
  --bg: #f7f7fb;
  --panel: #ffffff;
  --border: #e5e8ef;
  --shadow: 0 10px 30px rgba(16, 22, 26, .08);
  --radius: 14px;
  --container: 1180px;
}

.nav {
  display: flex;
  gap: 34px;
  align-items: center;
  font-size: 15px;
  font-weight: 600
}

.nav-item-submenu {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-bottom: 10px;
  margin-bottom: -10px
}

.submenu-item{
  color: var(--blue);
  border-radius: 8px;
  padding: 8px 0px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.nav-submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: #fff;
  border: 1px solid #dbe4f5;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(16, 22, 26, .18);
  padding: 8px;
  display: none;
  z-index: 25
}

.nav-item-submenu:hover .nav-submenu,
.nav-item-submenu:focus-within .nav-submenu {
  display: flex;
  flex-direction: column;
  gap: 2px
}

.nav-submenu a {
  color: var(--blue);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap
}

.nav-submenu a:hover,
.nav-submenu a:focus-visible {
  background: #edf3fd;
  text-decoration: none
}

.nav a {
  opacity: .95
}

.nav-submenu a.active,
.nav-submenu a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 10px;
  text-decoration-thickness: 2px
}

.hero {
  position: relative;
  background: center/cover no-repeat;
  min-height: 340px
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 22, 26, .05), rgba(16, 22, 26, .15))
}

.page-wrap {
  padding-bottom: 0
}

.main-panel {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 28px;
}

.main-panel {
  position: relative;
  margin-top: -72px;
  z-index: 2
}

.panel {
  background: rgba(255, 255, 255, .97);
  border: 1px solid rgba(229, 232, 239, .8);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 38px 38px 42px
}

.section {
  padding: 0 0 48px
}

.section+.section {
  padding-top: 48px
}

.title {
  font-size: 56px;
  line-height: 1.05;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 16px
}

.page-title {
  font-size: 38px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 10px
}

.subhead {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--green-dark);
  margin: 0 0 22px
}

.lead,
.copy p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  margin: 0 0 18px
}

.muted {
  color: var(--muted)
}

.btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  transition: .2s ease;
  border: 1px solid transparent
}

.btn-primary {
  background: var(--blue);
  color: #fff
}

.btn-primary:hover {
  background: var(--blue-dark)
}

.btn-secondary {
  background: var(--green-dark);
  color: #fff
}

.btn-secondary:hover {
  background: #5f9e80
}

.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 34px
}

.pillar-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 20px 20px;
  box-shadow: 0 6px 18px rgba(16, 22, 26, .05);
  position: relative
}

.pillar-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  border-radius: 0 0 12px 12px;
  background: var(--accent, var(--blue))
}

.pillar-icon {
  font-size: 34px;
  color: var(--accent, var(--blue));
  margin-bottom: 10px
}

.pillar-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.2;
  color: var(--blue)
}

.pillar-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55
}

.two-col {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 44px;
  align-items: start
}

.collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 190px 190px;
  gap: 10px
}

.collage img:nth-child(1) {
  grid-row: 1/span 1
}

.collage img:nth-child(2) {
  grid-column: 2;
  grid-row: 1/span 1
}

.collage img:nth-child(3) {
  grid-column: 1;
  grid-row: 2
}

.collage img:nth-child(4) {
  grid-column: 2;
  grid-row: 2
}

.collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px
}

.page-intro {
  max-width: 980px
}

.map-wrap {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 42px;
  margin-top: 10px
}

.map-info {
  margin-top: 20px;
}

.map-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 6px 18px rgba(16, 22, 26, .05)
}

.map-info p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.7
}

.world-map {
  position: relative;
  background: linear-gradient(180deg, #f6f8fd, #eef3fb);
  border-radius: 16px;
  border: 1px solid var(--border);
  min-height: 360px;
  overflow: hidden
}

.world-map svg {
  width: 100%;
  height: 100%
}

.pin {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50% 50% 50% 0;
  background: var(--blue);
  transform: rotate(-45deg);
  box-shadow: 0 3px 8px rgba(18, 72, 145, .25)
}

.pin::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: #fff;
  border-radius: 50%
}

.labs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 30px
}

.lab-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(16, 22, 26, .05);
  min-height: 455px
}

.lab-card img {
  width: 100%;
  height: 175px;
  object-fit: cover
}

.lab-body {
  padding: 18px 18px 16px
}

.lab-card h3 {
  margin: 0 0 4px;
  font-size: 18px;
  line-height: 1.35;
  color: var(--blue);
  font-weight: 600
}

.lab-loc {
  display: block;
  color: var(--green-dark);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 12px
}

.lab-desc {
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 18px;
  color: var(--text)
}

.lab-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--blue);
  font-size: 15px;
  font-weight: 600;
  border-top: 1px solid #edf0f5;
  padding-top: 14px
}

.lab-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 72, 145, .94);
  color: #fff;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: .25s ease
}

.lab-card:hover .lab-overlay {
  opacity: 1
}

.lab-overlay h3,
.lab-overlay .lab-loc,
.lab-overlay p,
.lab-overlay a {
  color: #fff
}

.lab-overlay h3 {
  font-size: 20px;
  margin: 0 0 6px
}

.lab-overlay .lab-loc {
  font-size: 16px;
  margin-bottom: 12px
}

.lab-overlay p {
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 12px
}

.lab-overlay a {
  font-size: 15px;
  font-weight: 600
}

/* ── Research index nav ───────────────────────────────── */
.research-nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 10px;
  padding: 20px 24px;
  background: linear-gradient(135deg, #f0f4fb, #e8f0f8);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 28px;
  overflow-x: auto
}

.rn-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  background: #fff;
  border: 1.5px solid var(--border);
  transition: background .18s, color .18s, border-color .18s, box-shadow .18s;
  cursor: pointer
}

.rn-pill:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 4px 12px rgba(18, 72, 145, .18)
}

.rn-pill.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 4px 12px rgba(18, 72, 145, .18)
}

/* ── Accordion ────────────────────────────────────────── */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 0
}

.acc-item {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(16, 22, 26, .04);
  overflow: hidden;
  transition: box-shadow .2s
}

.acc-item:hover {
  box-shadow: 0 8px 24px rgba(16, 22, 26, .09)
}

.acc-item.open {
  border-color: rgba(18, 72, 145, .22);
  box-shadow: 0 8px 28px rgba(18, 72, 145, .10)
}

.acc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 18px;
  font-weight: 600;
  color: var(--blue);
  cursor: pointer;
  background: #fff;
  transition: background .18s
}

.acc-item.open>.acc-head {
  background: linear-gradient(90deg, #f0f5fc, #eaf1f9);
  border-bottom: 1.5px solid rgba(18, 72, 145, .10)
}

.acc-head small {
  display: block;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 500;
  margin-top: 3px
}

.acc-plus {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(18, 72, 145, .08);
  display: grid;
  place-items: center;
  font-size: 22px;
  line-height: 1;
  color: var(--blue);
  transition: transform .22s ease, background .18s
}

.acc-item.open .acc-plus {
  transform: rotate(45deg);
  background: var(--blue);
  color: #fff
}

.acc-content {
  display: none;
  padding: 22px 24px 26px
}

.acc-item.open .acc-content {
  display: block
}

.featured-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 22px;
  padding-top: 4px
}

.featured-row img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px
}

.project-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(16, 22, 26, .05)
}

.project-card img {
  width: 100%;
  height: 170px;
  object-fit: cover
}

.project-card .body {
  padding: 18px
}

.project-card h3 {
  margin: 0 0 4px;
  font-size: 18px;
  line-height: 1.35;
  color: var(--blue)
}

.project-card .tag {
  display: block;
  color: var(--green-dark);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 12px
}

.project-card p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.65
}

.project-card .btn {
  padding: 10px 16px;
  font-size: 14px
}

.publication-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 34px;
  margin-top: 16px
}

.publication-list li {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text)
}

.publication-list a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none
}

.publication-list a:hover,
.publication-list a:focus-visible {
  text-decoration: underline
}

.publication-author {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted)
}

.priorities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px
}

.priority-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(16, 22, 26, .05)
}

.priority-card img {
  width: 100%;
  height: 170px;
  object-fit: cover
}

.priority-card .body {
  padding: 18px
}

.priority-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.35;
  color: var(--blue)
}

.priority-card p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.65
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 20px;
  align-items: center
}

.partner-logo {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center
}

.partner-logo img {
  width: 100%;
  max-height: 70px;
  object-fit: contain
}

@media (max-width: 1024px) {

  .cards-4,
  .labs-grid,
  .projects-grid,
  .priorities-grid,
  .partners-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .map-wrap,
  .two-col,
  .featured-row {
    grid-template-columns: 1fr
  }
}

@media (max-width: 720px) {

  .cards-4,
  .labs-grid,
  .projects-grid,
  .priorities-grid,
  .partners-grid,
  .publication-list {
    grid-template-columns: 1fr
  }

  .panel {
    padding: 28px 20px 32px
  }

  .main-panel {
    margin-top: -46px
  }

  .hero {
    min-height: 250px
  }
}