:root {
  --ink: #102235;
  --muted: #5a6878;
  --line: #dbe3eb;
  --soft: #f4f7fa;
  --paper: #ffffff;
  --navy: #0f2d48;
  --blue: #1f6fb2;
  --red: #c93136;
  --gold: #d6a645;
  --shadow: 0 20px 54px rgba(15, 45, 72, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
body::selection { background: rgba(31,111,178,.18); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--navy);
  color: white;
}
.skip-link:focus { top: 12px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(20px, 4vw, 64px);
  border-bottom: 1px solid rgba(219, 227, 235, 0.82);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 150px;
  font-weight: 900;
}
.brand img { width: 82px; height: 44px; object-fit: contain; }
.site-nav {
  flex: 1 1 760px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}
.site-nav a {
  min-width: 96px;
  padding: 8px 9px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.08;
  text-align: center;
}
.site-nav a span,
.site-footer a span {
  display: block;
  margin-top: 2px;
  font-size: .78em;
  font-weight: 750;
  line-height: 1.05;
  opacity: .72;
}
.site-nav .nav-ro {
  display: block;
  margin: 0;
  color: var(--ink);
  font-size: .94rem;
  font-weight: 900;
  line-height: 1.12;
  opacity: 1;
}
.site-nav .nav-de {
  display: block;
  margin-top: 3px;
  color: var(--blue);
  font-size: .74rem;
  font-weight: 850;
  line-height: 1.1;
  opacity: 1;
}
.site-nav a:hover, .site-nav a:focus { color: var(--ink); background: var(--soft); outline: 0; }
.site-nav .nav-cta { color: white; background: var(--navy); }
.site-nav .nav-cta .nav-ro,
.site-nav .nav-cta .nav-de { color: white; }
.site-nav br { display: block; }
.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}
.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 36px;
  padding: 6px 8px;
  border-radius: 999px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 950;
  line-height: 1;
}
.language-switch a.active {
  color: var(--ink);
  background: var(--soft);
  box-shadow: inset 0 0 0 2px var(--navy);
}
.language-switch a:not(.active):hover,
.language-switch a:not(.active):focus {
  color: var(--ink);
  background: var(--soft);
  outline: 0;
}
.flag-icon {
  display: block;
  width: 30px;
  height: 20px;
  overflow: hidden;
  border: 1px solid rgba(16,34,53,.22);
  border-radius: 3px;
  box-shadow: 0 2px 5px rgba(15,45,72,.12);
}
.flag-ro {
  background: linear-gradient(90deg, #002b7f 0 33.333%, #fcd116 33.333% 66.666%, #ce1126 66.666% 100%);
}
.flag-de {
  background: linear-gradient(180deg, #000 0 33.333%, #dd0000 33.333% 66.666%, #ffce00 66.666% 100%);
}
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  padding: 9px 12px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(48px, 7vw, 96px) clamp(20px, 4vw, 64px);
  background:
    linear-gradient(90deg, rgba(244,247,250,.98), rgba(255,255,255,.86)),
    linear-gradient(180deg, rgba(15,45,72,.06), transparent 38%);
  border-bottom: 1px solid var(--line);
}
.hero-copy { max-width: 820px; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.de-line {
  display: block;
  margin-top: 6px;
  color: #5c6978;
  font-size: .94em;
  font-weight: 650;
  line-height: 1.45;
}

h1,
h2 {
  color: var(--navy);
}

.split-title {
  margin-bottom: 16px;
}

.split-title-main {
  margin-bottom: 22px;
}

.split-title .title-ro {
  display: block;
  margin: 0 0 14px;
  color: var(--navy);
}

.split-title .title-ro::before {
  content: "RO";
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: .22em;
  font-weight: 950;
  letter-spacing: .12em;
}

.split-title .title-de {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 12px 16px 12px 18px;
  border-left: 5px solid var(--red);
  border-radius: 0 8px 8px 0;
  background: #fff7f8;
  color: var(--red);
  font-size: clamp(1.3rem, 2.2vw, 2.35rem);
  font-weight: 900;
  line-height: 1.12;
}

.split-title-main .title-de {
  font-size: clamp(1.45rem, 2.7vw, 2.85rem);
}

.split-title .title-de::before {
  content: "DE";
  display: block;
  margin-bottom: 6px;
  color: #8a1320;
  font-size: .34em;
  font-weight: 950;
  letter-spacing: .12em;
}

h1 .de-line,
h2 .de-line,
h1 .title-de,
h2 .title-de {
  width: fit-content;
  max-width: 100%;
  margin-top: 14px;
  padding: 12px 16px 12px 18px;
  border-left: 5px solid var(--red);
  border-radius: 0 8px 8px 0;
  background: #fff7f8;
  color: var(--red);
  font-size: .58em;
  font-weight: 900;
  line-height: 1.14;
}

h1 .de-line::before,
h2 .de-line::before,
h1 .title-de::before,
h2 .title-de::before {
  content: "DE";
  display: block;
  margin-bottom: 6px;
  color: #8a1320;
  font-size: .34em;
  font-weight: 950;
  letter-spacing: .12em;
}

h1 .title-ro,
h2 .title-ro {
  display: block;
  color: var(--navy);
}

h1 .title-ro::before,
h2 .title-ro::before {
  content: "RO";
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: .22em;
  font-weight: 950;
  letter-spacing: .12em;
}

.hero h1,
.page-hero h1,
.section-heading h2,
.content-main h2:has(.de-line),
.content-main h2:has(.title-de),
.contact-band h2:has(.de-line) {
  color: var(--navy);
}
.lead .de-line,
.page-hero p .de-line,
.section-heading p .de-line {
  font-weight: 500;
}
.bilingual-note {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 24px;
  color: #5c6978;
  font-size: .9rem;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.bilingual-note strong { color: var(--navy); }
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 22px;
  font-size: clamp(2.05rem, 3.7vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: 0;
}
h2 {
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 3.8vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}
h3 { margin-bottom: 9px; font-size: 1.12rem; line-height: 1.32; }
.lead { color: var(--muted); font-size: clamp(1.06rem, 1.6vw, 1.28rem); }
.hero-actions, .action-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.hero-logo-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  width: 104px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.9);
  color: var(--navy);
  font-size: .84rem;
  font-weight: 950;
}
.hero-logo-row img {
  width: 100%;
  height: 42px;
  object-fit: contain;
}
.hero-logo-row a:hover,
.hero-logo-row a:focus {
  border-color: rgba(31,111,178,.45);
  background: white;
  outline: 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 12px 18px;
}
.button span {
  display: block;
  margin-top: 2px;
  font-size: .78em;
  font-weight: 750;
  line-height: 1.05;
  opacity: .78;
}
.button.primary { color: white; background: var(--red); }
.button.secondary { border-color: var(--line); background: white; color: var(--ink); }
.button.ghost { border-color: transparent; color: var(--blue); }
.button.light { background: white; color: var(--navy); }
.text-link { color: var(--blue); font-weight: 900; }
.join-hero {
  padding-bottom: 42px;
  background:
    linear-gradient(90deg, rgba(244,248,252,.98) 0%, rgba(244,248,252,.92) 46%, rgba(244,248,252,.64) 100%),
    url("../img/join-hero-photo.jpg") center 42% / cover no-repeat;
}
.join-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  max-width: 980px;
  margin-top: 34px;
  padding: 22px;
  border: 1px solid rgba(31,111,178,.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(31,111,178,.12), rgba(214,166,69,.16)),
    white;
  box-shadow: 0 18px 44px rgba(15,45,72,.1);
}
.join-cta-panel strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 950;
}
.join-cta-panel span {
  display: block;
  max-width: 690px;
  color: var(--muted);
}
.join-cta-button {
  min-height: 58px;
  padding: 0 28px;
  box-shadow: 0 14px 32px rgba(201,49,54,.22);
}
.embedded-application-section {
  padding-top: 36px;
  background:
    linear-gradient(180deg, rgba(244,247,250,.9), rgba(255,255,255,1)),
    var(--soft);
}
.embedded-application-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 42px rgba(15,45,72,.1);
}
.embedded-application-frame iframe {
  display: block;
  width: 100%;
  height: 1180px;
  border: 0;
  background: white;
}
.join-benefits-section {
  background: white;
}
.join-benefits-grid {
  align-items: stretch;
}
.join-benefit-card {
  position: relative;
  min-height: 270px;
  padding: 26px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.join-benefit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(31,111,178,.34);
  box-shadow: 0 18px 42px rgba(15,45,72,.1);
}
.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: #eaf3ff;
  color: var(--blue);
}
.join-benefit-card:nth-child(2) .benefit-icon {
  background: #fff5dc;
  color: #b08022;
}
.join-benefit-card:nth-child(3) .benefit-icon {
  background: #e9f7ee;
  color: #2f7a4d;
}
.join-benefit-card:nth-child(4) .benefit-icon {
  background: #fdecec;
  color: var(--red);
}
.join-benefit-card:nth-child(5) .benefit-icon {
  background: #edf0ff;
  color: #4d5fb8;
}
.join-benefit-card:nth-child(6) .benefit-icon {
  background: #eef7f8;
  color: #0d6b7f;
}
.benefit-icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.join-benefit-card h3 {
  margin-bottom: 12px;
}

.hero-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}
.hero-panel img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}
.network-figure {
  margin: 0;
}
.network-figure img {
  width: 100%;
  border-radius: 8px;
  background: #f7fafc;
  object-fit: contain;
}
.network-figure figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.45;
}
.zoomable-structure-image {
  cursor: zoom-in;
}
.zoomable-structure-image:focus-visible {
  outline: 3px solid rgba(31,111,178,.28);
  outline-offset: 4px;
}
.image-zoom-hint {
  display: none;
  width: fit-content;
  margin: 12px 0 0;
  padding: 9px 12px;
  border: 1px solid rgba(31,111,178,.28);
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  font: inherit;
  font-size: .88rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}
.image-zoom-hint:focus-visible {
  outline: 3px solid rgba(31,111,178,.22);
  outline-offset: 3px;
}
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  background: rgba(9, 24, 39, .94);
}
.image-lightbox.is-open {
  display: grid;
  grid-template-rows: auto 1fr;
}
.image-lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  color: white;
}
.image-lightbox-title {
  overflow: hidden;
  font-size: .96rem;
  font-weight: 850;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.image-lightbox-close {
  flex: 0 0 auto;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: white;
  font: inherit;
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}
.image-lightbox-close:focus-visible {
  outline: 3px solid rgba(255,255,255,.4);
  outline-offset: 3px;
}
.image-lightbox-viewport {
  overflow: auto;
  padding: 8px 16px 22px;
  -webkit-overflow-scrolling: touch;
}
.image-lightbox img {
  width: max(100%, 1180px);
  max-width: none;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
  background: #f7fafc;
}

.institutional-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 0 clamp(20px, 4vw, 64px);
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
.institutional-ribbon article {
  min-height: 126px;
  padding: 22px 20px;
  background: white;
}
.institutional-ribbon strong {
  display: block;
  color: var(--navy);
  font-size: 1.02rem;
  line-height: 1.25;
}
.institutional-ribbon span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.42;
}

.partner-strip {
  padding: 28px clamp(20px, 4vw, 64px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: white;
}
.partner-strip .section-heading { margin-bottom: 18px; }
.partner-strip h2 {
  max-width: 920px;
  font-size: clamp(1.45rem, 2.6vw, 2.35rem);
}
.partner-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.partner-logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 154px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f8fbff);
}
.partner-logo:hover,
.partner-logo:focus {
  border-color: rgba(31,111,178,.42);
  box-shadow: 0 12px 28px rgba(15,45,72,.08);
  outline: 0;
}
.partner-logo-img {
  width: 100%;
  height: 82px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 12px;
}
.official-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 62px;
  border-radius: 8px;
  color: white;
  background: var(--navy);
  font-size: 1.08rem;
  font-weight: 950;
  letter-spacing: .02em;
}
.official-mark.eu { background: #154ea3; box-shadow: inset 0 -8px 0 rgba(255,204,0,.22); }
.official-mark.esc { background: #0d6b7f; }
.official-mark.bamf { background: #164b35; }
.official-mark.drp { background: #8f1f2d; }
.official-mark.mae { background: #14396b; }
.official-mark.jfe { background: #246a9f; }
.official-mark.cerv { background: #5b4778; }
.official-mark.demo { background: #735c14; }
.partner-logo strong {
  display: block;
  color: var(--navy);
  line-height: 1.18;
}
.partner-logo span:last-child {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.35;
}

.network-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .9fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  margin: clamp(34px, 5vw, 62px) clamp(20px, 4vw, 64px) 0;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(135deg, #f8fbff 0%, #eef5fc 100%);
}
.network-overview h2 {
  max-width: 820px;
  font-size: clamp(2rem, 4vw, 4rem);
}
.network-overview p { color: var(--muted); }
.network-visual {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 16px 42px rgba(15,45,72,.08);
}
.network-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 24px clamp(20px, 4vw, 64px) 0;
}
.step-card {
  display: flex;
  gap: 14px;
  min-height: 124px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}
.step-card strong { display: block; color: var(--navy); font-size: 1.08rem; }
.step-card p { margin: 0; color: var(--muted); }
.step-number,
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 8px;
  background: #e8f2fa;
  color: var(--blue);
  font-weight: 950;
}
.step-number { width: 42px; height: 42px; font-size: 1.05rem; }

.institution-ecosystem {
  background:
    linear-gradient(180deg, rgba(244,247,250,.92), rgba(255,255,255,1)),
    #fff;
}
.funding-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.funding-logo-card {
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 30px rgba(15,45,72,.06);
}
.funding-logo-card h3 { margin-bottom: 8px; }
.funding-logo-card p { color: var(--muted); }
.funding-logo-img {
  width: 100%;
  height: 76px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 16px;
}
.logo-mark {
  width: fit-content;
  min-width: 58px;
  height: 42px;
  margin-bottom: 14px;
  padding: 0 12px;
  color: white;
  background: var(--navy);
  letter-spacing: .04em;
}
.logo-mark.eu { background: #154ea3; }
.logo-mark.esc { background: #0d6b7f; }
.logo-mark.bamf { background: #164b35; }
.logo-mark.mae { background: #14396b; }
.logo-mark.drp { background: #8f1f2d; }
.logo-mark.local { background: #735c14; }
.logo-mark.demo { background: #5b4778; }
.logo-mark.fnd { background: #405366; }
.funding-fit {
  margin: auto 0 14px;
  padding-left: 18px;
  color: var(--muted);
}
.funding-fit li { margin-bottom: 7px; }
.institution-link { margin-top: auto; color: var(--blue); font-weight: 900; }
.legal-note {
  margin-top: 18px;
  padding: 15px 18px;
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  background: #fff9ea;
  color: #675126;
}

.section { padding: clamp(58px, 8vw, 104px) clamp(20px, 4vw, 64px); }
.section-heading { max-width: 860px; margin-bottom: 32px; }
.soft { background: var(--soft); }
.funding-focus {
  background:
    linear-gradient(135deg, rgba(214,166,69,.14), rgba(31,111,178,.08)),
    #fff;
}
.dark { color: white; background: var(--navy); }
.dark .eyebrow { color: #ffb9bd; }
.dark p, .dark .ro-inline { color: rgba(255,255,255,.76); }
.intro-grid, .two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 72px);
}
.intro-grid article { padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.about-history {
  background: #fff;
}
.about-history .two-col {
  align-items: center;
}
.about-photo-grid {
  display: grid;
  gap: 16px;
}
.about-photo-grid figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 34px rgba(15,45,72,.08);
}
.about-photo-grid img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  background: #f4f7fb;
}
.about-photo-grid figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: .9rem;
}
.uarg-motto {
  color: var(--red);
  font-weight: 950;
}
.about-summary {
  padding-top: 0;
}
.about-schema-map {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 42px rgba(15,45,72,.08);
}
.about-schema-map img {
  display: block;
  width: 100%;
  height: auto;
}
.objectives-summary {
  padding-top: 0;
}
.objectives-map {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 42px rgba(15,45,72,.08);
}
.objectives-map img {
  display: block;
  width: 100%;
  height: auto;
}
.about-schema {
  display: none;
}
.schema-card {
  position: relative;
  min-height: 250px;
  padding-top: 28px;
}
.schema-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--blue);
}
.schema-card:nth-child(2) .schema-icon {
  background: #fff7df;
  color: #b08022;
}
.schema-card:nth-child(3) .schema-icon {
  background: #f9e8e8;
  color: var(--red);
}
.schema-card:nth-child(4) .schema-icon {
  background: #eaf3ec;
  color: #2e6b45;
}
.schema-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card-grid { display: grid; gap: 18px; }
.card-grid.six { grid-template-columns: repeat(3, 1fr); }
.card {
  min-height: 188px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}
.press-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.press-logo {
  width: 150px;
  height: 72px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 18px;
}
.visual-card {
  overflow: hidden;
  padding: 0 0 24px;
}
.visual-card h3,
.visual-card p {
  padding-right: 24px;
  padding-left: 24px;
}
.card-image {
  width: 100%;
  height: 150px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
  object-fit: cover;
}
.funding-card {
  min-height: 236px;
}
.funding-card-logo {
  width: 132px;
  height: 58px;
  margin-bottom: 18px;
  object-fit: contain;
  object-position: left center;
}
.affiliate-card {
  display: flex;
  flex-direction: column;
}
.affiliate-logo-img {
  width: 100%;
  height: 72px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 16px;
}
.card p, .intro-grid p, .two-col p, .section-heading p, .contact-band p, .ro-box p, .ro-inline, .check-list { color: var(--muted); }
.hero-lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.6vw, 1.28rem);
}
.institution-grid,
.member-logo-grid,
.link-grid {
  display: grid;
  gap: 14px;
}
.institution-grid,
.member-logo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.link-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.community-group {
  margin-top: 28px;
}
.community-group-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 12px;
  color: var(--navy);
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
  line-height: 1.2;
}
.community-group-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.institution-card,
.link-grid a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}
.institution-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 118px;
  padding: 18px;
  box-shadow: 0 10px 28px rgba(15,45,72,.06);
}
.institution-card img {
  flex: 0 0 auto;
  width: 96px;
  height: 62px;
  object-fit: contain;
}
.institution-card strong,
.institution-card span {
  display: block;
}
.institution-card strong {
  color: var(--navy);
  line-height: 1.22;
}
.institution-card span {
  margin-top: 5px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.38;
}
.institution-card:hover,
.institution-card:focus,
.link-grid a:hover,
.link-grid a:focus {
  border-color: rgba(31,111,178,.45);
  box-shadow: 0 12px 32px rgba(31,111,178,.1);
  outline: 0;
}
.link-grid a {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  color: var(--blue);
  font-weight: 900;
  text-align: center;
}
.consulate-link-grid a {
  flex-direction: column;
  gap: 12px;
  min-height: 124px;
  overflow: hidden;
  padding: 18px 14px;
}
.consulate-link-grid img {
  width: 100%;
  max-width: 148px;
  height: 42px;
  object-fit: contain;
}
.consulate-link-grid span {
  display: block;
  width: 100%;
  color: var(--blue);
  font-size: .98rem;
  line-height: 1.2;
  text-align: center;
}
.ro-box {
  margin-top: 24px;
  padding: 20px;
  border-left: 5px solid var(--blue);
  border-radius: 8px;
  background: white;
}
.ro-box strong { display: block; margin-bottom: 6px; color: var(--blue); }
.ro-box h2 { font-size: clamp(1.25rem, 2vw, 1.55rem); margin-bottom: 8px; }
.ro-inline { font-weight: 650; }
.check-list { padding-left: 20px; margin: 0; }
.check-list li { margin-bottom: 10px; }

.page-hero {
  padding: clamp(52px, 7vw, 90px) clamp(20px, 4vw, 64px);
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}
.page-hero p { max-width: 900px; color: var(--muted); font-size: 1.1rem; }
.event-timeline-section {
  background: #fff;
}
.event-timeline {
  display: grid;
  gap: 24px;
  max-width: 1180px;
}
.event-item {
  display: grid;
  grid-template-columns: minmax(220px, .75fr) minmax(280px, 500px);
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
  box-shadow: 0 18px 46px rgba(15,45,72,.08);
}
.event-date {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eef5fc;
  color: var(--blue);
  font-weight: 900;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.event-item h3 {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}
.event-item p {
  color: var(--muted);
}
.event-archive {
  grid-template-columns: 1fr;
}
.event-source {
  display: inline-flex;
  margin-top: 16px;
  color: var(--blue);
  font-weight: 900;
}
.facebook-embed {
  width: 100%;
  max-width: 500px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.facebook-embed iframe {
  display: block;
  width: 100%;
  max-width: 500px;
  border: 0;
}
.facebook-link-card {
  display: grid;
  gap: 14px;
  align-content: center;
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #f7fbff, #fff);
}
.facebook-link-card strong {
  color: var(--navy);
  font-size: 1.2rem;
}
.facebook-link-card p {
  margin: 0;
  color: var(--muted);
}
.facebook-video-embed {
  max-width: 267px;
  margin-inline: auto;
}
.press-banner,
.funding-banner,
.objectives-banner {
  margin-top: 30px;
  max-width: 1040px;
  height: clamp(150px, 16vw, 240px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 46px rgba(15,45,72,.11);
}
.press-banner img,
.funding-banner img,
.objectives-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .38fr);
  gap: clamp(28px, 5vw, 68px);
}
.content-main > section { margin-bottom: 42px; }
.side-panel {
  position: sticky;
  top: 92px;
  align-self: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 38px rgba(15,45,72,.08);
}
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
table { width: 100%; min-width: 720px; border-collapse: collapse; background: white; }
th, td { padding: 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--navy); background: var(--soft); }
.status { display: inline-block; border-radius: 999px; background: #e8f2fa; color: var(--navy); padding: 4px 10px; font-size: .82rem; font-weight: 900; }
.member-table { min-width: 940px; }
.member-logo-img {
  width: 126px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}
.leadership-list {
  display: grid;
  gap: 10px;
}
.leadership-list p {
  margin: 0;
}
.leadership-list strong {
  color: var(--ink);
}

.form-grid { display: grid; gap: 14px; }
label { display: grid; gap: 7px; font-weight: 850; }
input, select, textarea {
  width: 100%;
  border: 1px solid #cbd6e1;
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(31,111,178,.16); border-color: var(--blue); }

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, rgba(31,111,178,.1), rgba(201,49,54,.06));
}
.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) minmax(260px, 1.4fr) minmax(190px, .9fr) minmax(230px, 1fr);
  align-items: start;
  gap: 24px;
  padding: 30px clamp(20px, 4vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.site-footer p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.45;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 150px;
  font-weight: 900;
}
.footer-brand img {
  width: 82px;
  height: 44px;
  object-fit: contain;
}
.site-footer strong, .site-footer span { display: block; }
.site-footer strong { color: var(--ink); font-size: 1rem; line-height: 1.1; }
.footer-legal,
.footer-contact,
.footer-compliance {
  min-width: 0;
}
.footer-legal nav {
  margin-top: 10px;
}
.site-footer .brand span {
  display: inline;
  margin-top: 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.1;
  opacity: 1;
}
.site-footer nav { display: flex; gap: 12px; flex-wrap: wrap; }
.site-footer nav a,
.footer-contact p a {
  color: var(--blue);
  font-weight: 850;
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--blue);
  font-weight: 900;
  background: white;
}
.social-links a:hover,
.social-links a:focus {
  border-color: rgba(31,111,178,.45);
  background: var(--soft);
  outline: 0;
}
.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  margin-top: 12px;
}
.footer-credit span {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .01em;
}
.footer-credit img {
  width: 120px;
  height: 40px;
  object-fit: contain;
}
.footer-credit:hover,
.footer-credit:focus {
  border-color: rgba(31,111,178,.45);
  background: var(--soft);
  outline: 0;
}

.project-pipeline-section {
  background: linear-gradient(180deg, #fff 0%, #f6f9fc 100%);
}
.project-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}
.project-status-card,
.funding-example-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 42px rgba(15,45,72,.06);
}
.project-status-card {
  min-height: 100%;
  padding: 28px;
}
.project-logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.project-logo-row a {
  display: inline-flex;
}
.logo-link {
  display: inline-flex;
  width: fit-content;
  border-radius: 8px;
}
.logo-link:focus-visible {
  outline: 3px solid rgba(31,111,178,.28);
  outline-offset: 3px;
}
.project-logo-row img {
  width: 132px;
  height: 62px;
  object-fit: contain;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.association-mvp-card {
  border-color: rgba(196, 61, 58, 0.28);
  background: linear-gradient(135deg, #fff 0%, #f8fbff 55%, #fff7ed 100%);
}
.mvp-logo-row {
  align-items: center;
  gap: 12px;
}
.role-logo {
  min-width: 112px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  line-height: 1;
  text-align: center;
  box-shadow: 0 8px 24px rgba(15, 34, 56, 0.06);
}
.role-logo small {
  font-size: .72rem;
  color: var(--muted);
  font-weight: 800;
}
.plus-diaspora-logo {
  color: #2f68b2;
}
.role-meta strong {
  color: var(--red);
}
.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 16px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.status-approved { background: rgba(50,132,92,.13); color: #1f6b49; }
.status-submitted { background: rgba(31,111,178,.12); color: var(--blue); }
.status-prep { background: rgba(196,61,58,.12); color: var(--red); }
.status-concept { background: rgba(208,168,73,.18); color: #7c641e; }
.nextstep-status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.nextstep-status-row .status-badge {
  margin-bottom: 0;
}
.nextstep-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 9px 22px 9px 18px;
  border-radius: 999px;
  background: #ffd20a;
  color: #0047a8;
  font-weight: 950;
  font-size: 1.08rem;
  line-height: .9;
  letter-spacing: .01em;
  box-shadow: 0 12px 26px rgba(15, 34, 56, .12);
}
.nextstep-pill img {
  width: 42px;
  height: 28px;
  object-fit: cover;
  padding: 0;
  border: 1px solid rgba(0, 56, 147, .18);
  border-radius: 3px;
  background: #003399;
}
.project-status-card h3,
.funding-example-card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.35rem;
}
.project-meta {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.project-meta li {
  padding-top: 10px;
  border-top: 1px solid rgba(214,224,235,.8);
  color: var(--muted);
}
.project-meta strong { color: var(--ink); }
.section-heading.narrow { max-width: 980px; }
.section-heading.compact { margin-top: 36px; }
.funding-example-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.funding-example-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
}
.funding-example-card img {
  width: 112px;
  height: 54px;
  object-fit: contain;
  align-self: flex-start;
}
.funding-example-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}
.consulate-footer-section {
  border-top: 1px solid var(--line);
  background: #fff;
}

@media (max-width: 1100px) {
  .hero, .network-overview, .intro-grid, .two-col, .content-grid { grid-template-columns: 1fr; }
  .card-grid.six { grid-template-columns: repeat(2, 1fr); }
  .institution-grid,
  .member-logo-grid,
  .link-grid,
  .funding-example-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-status-grid { grid-template-columns: 1fr; }
  .partner-logo-grid, .network-steps, .funding-logo-grid { grid-template-columns: repeat(2, 1fr); }
  .institutional-ribbon { grid-template-columns: repeat(2, 1fr); }
  .side-panel { position: static; }
}
@media (max-width: 760px) {
  body { font-size: 16px; line-height: 1.58; }
  .site-header { align-items: center; padding: 10px 16px; }
  .brand { min-width: 0; gap: 9px; }
  .language-switch {
    order: 2;
    margin-left: auto;
  }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: 74px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    width: 100%;
    min-width: 0;
    padding: 12px 14px;
    text-align: left;
  }
  .hero {
    gap: 24px;
    padding: 34px 16px 28px;
  }
  .hero-panel {
    display: none;
  }
  h1 { font-size: clamp(2rem, 11vw, 3.15rem); line-height: 1.05; }
  h2 { font-size: clamp(1.55rem, 8vw, 2.25rem); }
  .lead { font-size: 1.03rem; }
  .hero-actions, .action-row { gap: 10px; margin-top: 20px; }
  .join-cta-panel {
    grid-template-columns: 1fr;
    margin-top: 24px;
    padding: 18px 16px;
  }
  .embedded-application-frame iframe {
    height: 1320px;
  }
  .hero-logo-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .hero-logo-row a { width: auto; min-height: 62px; }
  .hero-logo-row img { height: 44px; }
  .hero-panel img { min-height: auto; object-fit: contain; }
  .hero-panel,
  .network-figure,
  .about-schema-map,
  .objectives-map {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .event-item {
    grid-template-columns: 1fr;
    padding: 18px;
  }
  .facebook-embed {
    margin-inline: auto;
  }
  .network-figure img,
  .about-schema-map img,
  .objectives-map img {
    min-width: 880px;
  }
  .image-zoom-hint {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .institutional-ribbon {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }
  .institutional-ribbon article { min-height: auto; padding: 18px 16px; }
  .section { padding: 48px 16px; }
  .network-overview {
    margin: 28px 16px 0;
    padding: 20px;
  }
  .partner-logo-grid, .network-steps, .funding-logo-grid, .card-grid.six,
  .institution-grid, .member-logo-grid, .link-grid, .funding-example-grid { grid-template-columns: 1fr; }
  .project-status-card { padding: 20px; }
  .project-logo-row img { width: 116px; height: 58px; }
  .institution-card {
    align-items: flex-start;
    min-height: auto;
    padding: 16px;
  }
  .institution-card img {
    width: 82px;
    height: 56px;
  }
  .about-photo-grid img {
    height: auto;
    max-height: none;
  }
  .card-image {
    height: 172px;
  }
  .funding-card-logo {
    width: 118px;
    height: 54px;
  }
  .partner-logo { min-height: 132px; }
  .partner-logo-img { height: 68px; }
  .funding-logo-img { height: 66px; }
  .affiliate-logo-img { height: 64px; }
  .official-mark { width: 64px; height: 56px; font-size: .95rem; }
  .contact-band { flex-direction: column; align-items: flex-start; }
  .site-footer {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-brand img {
    width: 82px;
    height: 44px;
  }
  .footer-credit {
    width: 100%;
    justify-content: space-between;
  }
  .table-wrap {
    overflow: visible;
    border: 0;
  }
  .member-table {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0 14px;
  }
  .member-table thead { display: none; }
  .member-table tbody,
  .member-table tr,
  .member-table td {
    display: block;
    width: 100%;
  }
  .member-table tr {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    box-shadow: 0 10px 26px rgba(15,45,72,.06);
    overflow: hidden;
  }
  .member-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
  }
  .member-table td:last-child { border-bottom: 0; }
  .member-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
  }
.member-logo-img {
  width: 160px;
  height: 70px;
}
}
@media (max-width: 430px) {
  .brand img { width: 64px; }
  .brand span { font-size: .92rem; }
  h1 { font-size: 2.05rem; }
  .button { width: 100%; }
  .hero-logo-row { grid-template-columns: 1fr; }
  .network-figure img,
  .about-schema-map img,
  .objectives-map img {
    min-width: 820px;
  }
  .image-lightbox img {
    width: 1120px;
  }
}
