:root {
  --blue: #234b89;
  --blue-deep: #1a3866;
  --blue-mid: #2e5d9f;
  --blue-soft: #eff6ff;
  --green: #4ebf7b;
  --green-dark: #3fa968;
  --ink: #212121;
  --muted: #5f6673;
  --line: rgba(35, 75, 137, 0.14);
  --shadow: 0 18px 45px rgba(35, 75, 137, 0.12);
  --serif: Merriweather, Georgia, serif;
  --sans: Inter, Arial, sans-serif;
}

/* Keep the lexical cards faithful to the source files: no source field is clipped or hidden. */
.word-card {
  height: auto;
  min-height: 0;
  overflow: visible;
}

.word-card h3,
.word-definition,
.word-pronunciation,
.word-example,
.word-note,
.word-bottom,
.word-details,
.word-kicker {
  display: block;
  max-height: none;
  overflow: visible;
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
}

.word-meta span:nth-child(n + 3),
.word-example:nth-child(n + 2),
.word-note {
  display: block;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--sans);
  font-weight: 400;
}

main {
  display: flex;
  flex-direction: column;
}

.hero {
  order: 1;
}

.search-section {
  order: 2;
}

.about-section {
  order: 3;
}

.news-section {
  order: 4;
}

.themes-section {
  order: 5;
}

.map-section {
  order: 6;
}

.team-section {
  order: 7;
}

.faq-section {
  order: 8;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  line-height: 1.35;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 32px;
  height: 80px;
  padding: 0 clamp(16px, 3vw, 56px);
  color: var(--blue);
  background: transparent;
  transition: background 0.28s ease, box-shadow 0.28s ease, color 0.28s ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(35, 75, 137, 0.12);
  backdrop-filter: blur(12px);
}

.brand {
  position: relative;
  display: block;
  width: 80px;
  height: 80px;
  flex: 0 0 80px;
}

.brand-logo {
  position: absolute;
  inset: 0;
  width: 80px;
  height: 80px;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

.brand-logo-light {
  opacity: 0;
}

.brand-logo-dark {
  opacity: 1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
  font-weight: 500;
}

.main-nav a {
  white-space: nowrap;
  transition: color 0.18s ease;
}

.main-nav a:hover,
.theme-card a:hover,
.site-footer a:hover {
  color: var(--green);
}

.main-nav a.is-active {
  color: var(--green);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-actions select,
.section-heading select {
  height: 40px;
  border: 1px solid rgba(214, 214, 218, 0.8);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  font-weight: 600;
}

.login-btn,
.search-bar > button,
.ghost-btn {
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: var(--blue);
  font-weight: 600;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.login-btn {
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
}

.login-btn:hover,
.search-bar > button:hover,
.ghost-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(78, 191, 123, 0.24);
}

.contact-page {
  min-height: 100vh;
  background: #fff;
}

.contact-main {
  display: flex;
  flex-direction: column;
  gap: 56px;
  padding: 124px max(18px, 5vw) 72px;
  color: #253a57;
}

.contact-address-card,
.contact-form-card {
  width: min(1220px, 100%);
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
}

.contact-address-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 300px;
  padding: 48px 58px 42px;
  text-align: center;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.13);
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(135deg, #a845ef 0%, #fb2c9d 100%);
  box-shadow: 0 14px 26px rgba(196, 58, 198, 0.24);
}

.contact-icon svg,
.contact-label svg,
.contact-submit svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-icon svg {
  width: 46px;
  height: 46px;
  stroke-width: 2.2;
}

.contact-address-card h1 {
  margin: 28px 0 22px;
  color: #164486;
  font-family: var(--sans);
  font-size: clamp(1.7rem, 2.2vw, 2rem);
  font-weight: 700;
}

.contact-address-card p {
  max-width: 1100px;
  margin: 0;
  color: #253a57;
  font-size: clamp(1.05rem, 1.55vw, 1.32rem);
  line-height: 1.45;
}

.contact-form-card {
  padding: 58px 56px 54px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.12);
}

.contact-form-heading {
  margin-bottom: 72px;
}

.contact-form-heading h2 {
  margin: 0 0 18px;
  color: #164486;
  font-size: clamp(1.65rem, 2.2vw, 2rem);
  font-weight: 700;
}

.contact-form-heading p {
  margin: 0;
  color: #2d3f58;
  font-size: clamp(1.05rem, 1.65vw, 1.35rem);
  line-height: 1.45;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 34px;
  row-gap: 28px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.contact-field-full {
  grid-column: 1 / -1;
}

.contact-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  color: #164486;
  font-size: clamp(1rem, 1.45vw, 1.24rem);
  font-weight: 600;
  line-height: 1.2;
}

.contact-label svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  stroke-width: 2;
}

.contact-label strong {
  color: #ff1f2d;
  font-weight: 500;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 1px solid #c9cfda;
  border-radius: 10px;
  color: #263954;
  background: #f4f4f6;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.contact-field input {
  height: 50px;
  padding: 0 18px;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
}

.contact-field textarea {
  min-height: 248px;
  resize: vertical;
  padding: 14px 18px;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.5;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(35, 75, 137, 0.12);
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #687188;
  opacity: 1;
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 56px;
  margin-top: 14px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(90deg, #275795 0%, #30828f 48%, #4ebf7b 100%);
  box-shadow: 0 14px 24px rgba(35, 75, 137, 0.18);
  font-size: clamp(1rem, 1.35vw, 1.08rem);
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.contact-submit:hover {
  transform: translateY(-1px);
  filter: saturate(1.04);
  box-shadow: 0 17px 30px rgba(35, 75, 137, 0.22);
}

.contact-submit:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.contact-submit svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

.contact-status {
  display: none;
  min-height: 24px;
  margin: -8px 0 0;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
}

.contact-status.is-pending,
.contact-status.is-success,
.contact-status.is-error {
  display: block;
}

.contact-status.is-pending {
  color: var(--blue);
  background: #eff6ff;
}

.contact-status.is-success {
  color: #1f7a4a;
  background: #e9f8ef;
}

.contact-status.is-error {
  color: #9d2633;
  background: #fff0f2;
}

.hero {
  position: relative;
  display: flex;
  justify-content: center;
  overflow: hidden;
  background: #fff;
}

.hero-bg {
  display: block;
  width: 100%;
  max-height: 100dvh;
  min-height: 680px;
  object-fit: cover;
  object-position: center;
  user-select: none;
}

.search-section {
  position: relative;
  min-height: 0;
  padding: 80px max(24px, 4.5vw) 86px;
  color: #fff;
  text-align: center;
  background: linear-gradient(180deg, #234b89 0%, #2e5d9f 100%);
}

.search-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.search-section > * {
  position: relative;
  z-index: 1;
}

.search-section h1 {
  max-width: 980px;
  margin: 0 auto 30px;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.search-bar {
  position: relative;
  z-index: 4;
  display: flex;
  gap: 8px;
  max-width: 896px;
  margin: 0 auto;
}

.search-field {
  position: relative;
  flex: 1;
  min-width: 0;
}

.search-bar input {
  width: 100%;
  min-height: 68px;
  border: 0;
  border-radius: 16px;
  padding: 0 24px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 40px rgba(18, 45, 84, 0.22);
}

.search-bar input:focus {
  outline: 4px solid rgba(78, 191, 123, 0.3);
}

.search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 30;
  width: 100%;
  max-height: 350px;
  overflow: hidden;
  text-align: left;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(214, 214, 218, 0.9);
  border-radius: 14px;
  box-shadow: 0 24px 48px rgba(18, 45, 84, 0.24);
}

.suggestions-heading {
  padding: 10px 16px 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.suggestion-item {
  display: grid;
  gap: 6px;
  width: 100%;
  border: 0;
  border-top: 1px solid #edf1f6;
  padding: 12px 16px;
  text-align: left;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  transform: none;
  box-shadow: none;
}

.suggestion-item:hover,
.suggestion-item:focus {
  outline: 0;
  background: #f4f9ff;
}

.suggestion-label {
  font-weight: 700;
}

.suggestion-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--muted);
  font-size: 0.78rem;
}

.suggestion-meta span {
  padding: 3px 7px;
  border-radius: 999px;
  background: #eef4fb;
}

.search-bar > button,
.ghost-btn {
  min-height: 60px;
  padding: 0 28px;
  background: var(--green);
}

.search-bar > button:hover,
.ghost-btn:hover {
  background: var(--green-dark);
}

.filter-toggle,
.clear-btn {
  margin-top: 22px;
  border: 0;
  color: #fff;
  background: transparent;
  font-weight: 600;
}

.filter-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.filters {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 24px;
  max-width: 1120px;
  margin: 32px auto 0;
  padding: 22px 24px 32px;
  text-align: left;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.96);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(18, 45, 84, 0.16);
}

.filters label {
  display: grid;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.filters select {
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  color: var(--ink);
  background: #fff;
}

.clear-btn {
  grid-column: 1 / -1;
  justify-self: end;
  align-self: end;
  margin-top: 24px;
  color: #101828;
}

.word-panel {
  max-width: none;
  margin: 68px 0 0;
  padding: 0;
  overflow: visible;
  color: #fff;
  background: transparent;
  border-radius: 0;
}

.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  box-sizing: border-box;
  max-width: 1600px;
  margin: 0 auto 28px;
  padding-inline: clamp(24px, 3vw, 48px);
}

.result-count {
  margin: 0;
  padding: 0;
  text-align: left;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
}

.close-results {
  border: 0;
  color: #fff;
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.close-results::before,
.clear-btn::before {
  content: "×";
  margin-right: 12px;
  font-size: 1.4rem;
  font-weight: 400;
  vertical-align: -0.08em;
}

.word-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
  max-width: 1600px;
  margin: 0 auto;
  padding-inline: clamp(24px, 3vw, 48px);
  text-align: left;
}

.word-card,
.news-card,
.theme-card,
.team-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
}

.word-card {
  display: grid;
  gap: 22px;
  align-content: start;
  min-height: 340px;
  padding: 24px 20px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.word-card:hover {
  transform: translateY(-4px);
  border-color: rgba(78, 191, 123, 0.35);
  box-shadow: 0 22px 45px rgba(35, 75, 137, 0.16);
}

.word-title-row {
  display: block;
}

.word-card h3 {
  margin: 0;
  color: var(--blue);
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.2;
}

.word-country-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 24px;
  margin-right: 8px;
  padding: 0 7px;
  border: 1px solid #d8e2ee;
  border-radius: 999px;
  color: #111;
  background: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  vertical-align: 0.12em;
}

.word-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.language-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.language-pair div {
  min-width: 0;
  border: 1px solid #e4ebf5;
  border-radius: 10px;
  padding: 10px;
  background: #f8fbff;
}

.language-pair span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.language-pair strong {
  display: block;
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.word-card > p,
.word-details {
  margin: 0;
  color: #5f6673;
  font-size: 0.93rem;
  line-height: 1.5;
}

.word-equivalent,
.word-definition,
.word-location {
  margin: 0;
  color: #18345c;
  font-size: 0.98rem;
  line-height: 1.45;
}

.word-definition {
  max-height: 4.4em;
  overflow: hidden;
  text-align: justify;
  text-align-last: left;
}

.word-location {
  display: grid;
  gap: 8px;
  margin-top: auto;
  color: #334765;
}

.word-location p {
  margin: 0;
}

.word-details {
  display: grid;
  gap: 7px;
}

.word-details p {
  margin: 0;
}

.word-details strong {
  color: var(--blue);
}

.sound-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  color: var(--green);
  background: transparent;
  cursor: pointer;
}

.sound-btn:hover,
.sound-btn.is-playing {
  color: #fff;
  background: var(--green);
}

.sound-btn-inline {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
}

.audio-notice {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  max-width: min(420px, calc(100vw - 48px));
  padding: 14px 18px;
  border-radius: 8px;
  color: #fff;
  background: #174985;
  box-shadow: 0 18px 36px rgba(20, 54, 100, 0.22);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.audio-notice.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.sound-icon {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.word-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
}

.word-meta span {
  padding: 6px 9px;
  border-radius: 999px;
  background: #f4f8fd;
}

.empty-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 32px;
  text-align: center;
  color: var(--muted);
}

.section-heading {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
}

.section-heading h2,
.team-section h2,
.faq-section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

.news-grid {
  display: grid;
  gap: 28px;
  max-width: 1120px;
  margin: 40px auto 0;
}

.news-card {
  display: grid;
  grid-template-columns: minmax(250px, 380px) 1fr;
  align-items: center;
  gap: 36px;
  padding: 32px;
  color: var(--ink);
  background: #fff;
}

.news-card img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  border-radius: 8px;
  filter: drop-shadow(0 18px 30px rgba(35, 75, 137, 0.18));
}

.news-card h3 {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 700;
}

.news-card p {
  color: var(--muted);
  line-height: 1.6;
}

.about-section,
.map-section,
.themes-section,
.team-section,
.faq-section {
  padding: 80px max(20px, 7vw);
}

.about-section,
.map-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-copy h2,
.map-section h2,
.themes-section h2,
.team-section h2 {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 700;
}

.about-copy p,
.map-section p,
.themes-section > p,
.team-section > p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.about-section img,
.map-section img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.interactive-map {
  position: relative;
  width: 100%;
  max-height: 520px;
  margin: 0;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
  isolation: isolate;
}

.interactive-map > .map-base {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: none;
  filter: none;
}

.interactive-map > .map-svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
}

.map-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
  transform-origin: center;
  transition: opacity 0.2s ease, filter 0.22s ease, transform 0.22s ease;
}

.map-country-spain {
  opacity: 0.34;
  filter: hue-rotate(166deg) saturate(0.75) brightness(1.18);
}

.map-overlay.is-active {
  opacity: 1;
  filter: drop-shadow(0 0 18px rgba(58, 168, 107, 0.5));
  transform: translateY(-2px) scale(1.004);
}

.map-country-belgium.is-active {
  filter: drop-shadow(0 0 18px rgba(105, 169, 244, 0.55));
}

.map-country-switzerland.is-active {
  filter: drop-shadow(0 0 18px rgba(255, 135, 51, 0.55));
}

.map-country-spain.is-active {
  filter: drop-shadow(0 0 18px rgba(245, 205, 61, 0.55));
}

.map-tooltip {
  position: absolute;
  left: 58%;
  top: 39%;
  z-index: 3;
  display: grid;
  gap: 8px;
  min-width: 160px;
  padding: 16px 18px 14px;
  border: 1px solid #cdd9e5;
  border-radius: 10px;
  color: #244b88;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 4px 5px 0 rgba(35, 75, 137, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.map-tooltip.is-visible {
  opacity: 1;
  transform: translate(-50%, -14px);
}

.map-tooltip strong {
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
}

.map-tooltip span {
  padding-top: 8px;
  border-top: 1px solid #e2e9f1;
  color: var(--green);
  font-weight: 800;
  text-align: center;
}

.map-svg {
  display: block;
  width: 100%;
  height: auto;
}

.map-svg .map-background {
  pointer-events: none;
}

.map-svg .map-background path {
  fill: #d6d7dc !important;
  stroke: #fff !important;
  stroke-width: 0.7 !important;
  vector-effect: non-scaling-stroke;
}

.map-svg .map-background [data-bg-country="fr"],
.map-svg .map-background [data-bg-country="be"],
.map-svg .map-background [data-bg-country="ch"],
.map-svg .map-background [data-bg-country="es"] {
  fill: #bbc9da !important;
}

.map-svg .map-country {
  cursor: pointer;
  opacity: 1;
  filter: none;
  outline: 0;
}

.map-svg .map-country > path {
  fill: #bbc9da;
  stroke: #fff;
  stroke-width: 0.7;
  vector-effect: non-scaling-stroke;
  pointer-events: visiblePainted;
  transform-box: fill-box;
  transform-origin: center;
  transition: none;
}

.map-svg .map-country-belgium > path {
  stroke-width: 1.8;
}

.map-svg .map-country-france:hover > path,
.map-svg .map-country-france:focus > path,
.map-svg .map-country-france.is-active > path {
  fill: #234b89;
}

.map-svg .map-country-belgium:hover > path,
.map-svg .map-country-belgium:focus > path,
.map-svg .map-country-belgium.is-active > path {
  fill: #111827;
}

.map-svg .map-country-switzerland:hover > path,
.map-svg .map-country-switzerland:focus > path,
.map-svg .map-country-switzerland.is-active > path {
  fill: #e84242;
}

.map-svg .map-country-spain:hover > path,
.map-svg .map-country-spain:focus > path,
.map-svg .map-country-spain.is-active > path {
  fill: #f5cd3d;
}

.map-svg .map-country:hover > path,
.map-svg .map-country:focus > path {
  filter: none;
  transform: none;
}

.map-svg .map-callout {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  transform: translateY(4px);
}

.map-svg .map-country:hover .map-callout,
.map-svg .map-country:focus .map-callout {
  opacity: 1;
  transform: translateY(0);
}

.map-svg .map-callout rect {
  fill: rgba(255, 255, 255, 0.96);
  stroke: #cdd9e5;
  stroke-width: 1;
  filter: drop-shadow(2px 3px 0 rgba(35, 75, 137, 0.14));
}

.map-svg .map-callout-title {
  fill: #244b88;
  font-size: 13px;
  font-weight: 800;
}

.map-svg .map-callout-count {
  fill: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.themes-section {
  text-align: center;
  background: #fff;
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 44px;
  text-align: left;
}

.theme-card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 26px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.theme-card:hover,
.theme-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(78, 191, 123, 0.9);
  box-shadow: 0 22px 45px rgba(35, 75, 137, 0.16);
}

.theme-count-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 8px 16px rgba(21, 74, 147, 0.22);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-8px) scale(0.94);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.theme-card:hover .theme-count-badge {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.theme-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  color: #fff;
  background: var(--green);
  font-weight: 700;
}

.theme-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-card h3 {
  margin: 22px 0 8px;
  color: var(--blue);
  font-size: 1.12rem;
  font-weight: 700;
}

.theme-card p,
.team-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.theme-card a {
  float: right;
  color: var(--blue);
  font-weight: 700;
}

.travel-note {
  max-width: 720px;
  margin: 44px auto 0;
}

.themes-section {
  padding: 76px max(36px, 2.2vw) 72px;
  text-align: center;
  background: #fff;
}

.themes-section h2 {
  margin: 0 0 22px;
  color: #123f83;
  font-family: Merriweather, Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2vw, 2rem);
  font-weight: 700;
}

.themes-section > p:not(.travel-note) {
  max-width: 980px;
  margin: 0 auto;
  color: #263a56;
  font-size: clamp(1.08rem, 1.55vw, 1.48rem);
  line-height: 1.45;
}

.themes-section .theme-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin: 58px auto 0;
}

.themes-section .theme-card {
  position: relative;
  min-height: 264px;
  padding: 34px 34px 32px;
  overflow: visible;
  text-align: left;
  border: 1px solid #d7e5f7;
  border-radius: 18px;
  background: #f7fbff;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.themes-section .theme-card:hover {
  border-color: #4ebf7b;
  box-shadow: 0 18px 30px rgba(23, 73, 133, 0.12);
  transform: none;
}

.themes-section .theme-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.themes-section .theme-icon {
  width: 66px;
  height: 66px;
  flex: 0 0 auto;
  border-radius: 13px;
  background: #4ebf7b;
  box-shadow: 0 8px 14px rgba(42, 150, 94, 0.2);
}

.themes-section .theme-icon svg {
  width: 34px;
  height: 34px;
  stroke-width: 1.9;
}

.themes-section .theme-card h3 {
  margin: 22px 0 14px;
  color: #123f83;
  font-size: 1.24rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.themes-section .theme-card p {
  color: #334765;
  font-size: 1.12rem;
  line-height: 1.5;
}

.themes-section .theme-card a {
  float: none;
  flex: 0 1 auto;
  color: #123f83;
  font-size: 1.02rem;
  font-weight: 800;
  text-align: right;
}

.themes-section .theme-count-badge {
  top: 12px;
  right: 12px;
  padding: 9px 14px;
  border-radius: 12px;
  opacity: 0;
  color: #fff;
  background: #174985;
  font-size: 0.86rem;
  font-weight: 800;
  transform: none;
  box-shadow: 0 6px 12px rgba(23, 73, 133, 0.22);
}

.themes-section .theme-card:hover .theme-count-badge {
  opacity: 1;
  transform: none;
}

.themes-section .travel-note {
  max-width: none;
  margin: 66px auto 0;
  padding: 44px 56px;
  white-space: pre-line;
  color: #18345c;
  border: 1px solid #cfeadd;
  border-radius: 20px;
  background: linear-gradient(180deg, #fbfffd 0%, #f7fbff 100%);
  font-size: clamp(1.2rem, 1.75vw, 1.72rem);
  line-height: 1.55;
  text-align: center;
}

.team-section {
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, rgba(239, 246, 255, 0.7) 100%);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
  text-align: left;
}

.team-card {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  padding: 0;
  border-radius: 8px;
  isolation: isolate;
  opacity: 0;
  animation: teamCardIn 0.65s ease forwards;
  animation-delay: calc(var(--team-order, 1) * 80ms);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.team-card:focus-visible {
  outline: 3px solid rgba(78, 191, 123, 0.7);
  outline-offset: 4px;
}

.team-card:hover,
.team-card:focus-visible,
.team-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 22px 45px rgba(35, 75, 137, 0.16);
}

.team-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: center 28%;
  transform: scale(1.01);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.team-card-summary,
.team-card-bio {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
}

.team-card-summary {
  padding: 78px 24px 24px;
  color: #fff;
  background: linear-gradient(180deg, rgba(10, 18, 31, 0) 0%, rgba(8, 15, 28, 0.78) 100%);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.team-card-summary h3,
.team-card-bio h3 {
  margin: 0 0 8px;
  font-family: var(--sans);
  font-size: 1.08rem;
  font-weight: 800;
}

.team-card-summary p {
  color: rgba(255, 255, 255, 0.92);
}

.team-card-bio {
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 28px;
  color: #fff;
  background: linear-gradient(135deg, rgba(26, 56, 102, 0.96), rgba(35, 75, 137, 0.9));
  opacity: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.38) transparent;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity 0.32s ease, transform 0.32s ease;
}

.team-card-bio::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.08);
  opacity: 0.12;
}

.team-card-bio h3 {
  color: #fff;
  text-align: center;
}

.team-card-bio p {
  margin: 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.98rem;
  line-height: 1.65;
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
  overflow-wrap: anywhere;
}

.team-card-bio .team-role {
  margin-bottom: 24px;
  color: var(--green);
  text-align: center;
  text-align-last: center;
  font-size: 1.04rem;
  font-weight: 800;
}

.team-id-badge {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-top: auto;
  border-radius: 50%;
  color: #fff;
  background: #acd22f;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-id-badge:hover,
.team-id-badge:focus-visible {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 24px rgba(172, 210, 47, 0.32);
  outline: none;
}

.team-card:hover .team-photo,
.team-card:focus-visible .team-photo,
.team-card:focus-within .team-photo {
  transform: scale(1.06);
  filter: saturate(0.9) brightness(0.72);
}

.team-card:hover .team-card-summary,
.team-card:focus-visible .team-card-summary,
.team-card:focus-within .team-card-summary {
  opacity: 0;
  transform: translateY(10px);
}

.team-card:hover .team-card-bio,
.team-card:focus-visible .team-card-bio,
.team-card:focus-within .team-card-bio {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@keyframes teamCardIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .team-card,
  .team-photo,
  .team-card-summary,
  .team-card-bio {
    animation: none;
    transition: none;
  }

  .team-card {
    opacity: 1;
  }

  .team-card-bio {
    opacity: 0;
    transform: none;
  }

  .team-card:hover .team-card-bio,
  .team-card:focus-visible .team-card-bio,
  .team-card:focus-within .team-card-bio {
    opacity: 1;
    pointer-events: auto;
  }
}

.avatar {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--green));
  font-weight: 700;
}

.faq-section {
  max-width: 960px;
  margin: 0 auto;
}

.contribute-cta {
  order: 9;
  padding: 66px max(20px, 7vw);
  color: #fff;
  text-align: center;
  background: var(--blue);
}

.contribute-cta h2 {
  margin: 0 0 18px;
  color: #fff;
  font-family: var(--sans);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 800;
}

.contribute-cta p {
  max-width: 780px;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.42;
}

.faq-section h2 {
  color: var(--blue);
  text-align: center;
}

.faq-intro {
  max-width: 760px;
  margin: 18px auto 18px;
  text-align: center;
}

.faq-section details {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.faq-section summary {
  color: var(--blue);
  cursor: pointer;
  font-weight: 700;
}

.faq-section p {
  color: var(--muted);
  line-height: 1.65;
}

.site-footer {
  color: #fff;
  background: #244f86;
}

.site-footer {
  padding: 0;
  text-align: center;
}

.footer-identity {
  display: grid;
  justify-items: center;
  padding: 52px max(20px, 7vw) 56px;
}

.footer-brand-logo {
  width: 54px;
  height: auto;
  margin-bottom: 22px;
}

.site-footer p {
  max-width: 930px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
  line-height: 1.7;
}

.site-footer .footer-slogan {
  margin: 0 0 16px;
  color: #fff;
  font-size: 1.38rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1.25;
}

.partner-logos {
  display: grid;
  grid-template-columns: 194px 230px 194px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100%;
  margin-top: 38px;
}

.partner-logo-card {
  display: grid;
  place-items: center;
  height: 100px;
  border-radius: 12px;
  background: #fff;
}

.partner-logo-card-small {
  width: 100%;
}

.partner-logo-card-wide {
  width: 100%;
}

.partner-logo-card img {
  width: auto;
  height: auto;
  object-fit: contain;
}

.partner-logo-card-small:first-child img {
  width: 60px;
  max-height: 74px;
}

.partner-logo-card-wide img {
  width: 166px;
  max-height: 62px;
}

.partner-logo-card-small:last-child img {
  width: 74px;
  max-height: 72px;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 130px;
  min-height: 53px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1rem;
  font-weight: 800;
}

.social-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #fff;
}

.social-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.social-icon-text {
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1;
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  gap: clamp(42px, 7vw, 110px);
  padding: 58px max(24px, 10.6vw) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: left;
}

.footer-summary img {
  display: block;
  width: 128px;
  height: auto;
  margin: 0 0 20px;
}

.footer-summary p {
  max-width: 300px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1rem;
  line-height: 1.65;
}

.site-footer h3 {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.48);
  font-family: var(--sans);
  font-size: 0.96rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: 14px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.05rem;
  transition: color 0.18s ease;
}

.modal {
  width: min(96vw, 1180px);
  max-height: 92vh;
  padding: 28px;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.modal > img {
  display: block;
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
}

.close-modal {
  position: sticky;
  top: 0;
  float: right;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  background: #f3f4f6;
  font-size: 1.6rem;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.docs-grid a {
  display: grid;
  gap: 12px;
  color: var(--blue);
  font-weight: 700;
}

.docs-grid a[hidden] {
  display: none !important;
}

.docs-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: left top;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.sources-modal {
  width: min(94vw, 980px);
  padding: 32px;
}

.sources-modal h2 {
  margin: 0 56px 22px 0;
  color: var(--blue);
  font-family: var(--serif);
  font-size: 2rem;
}

.source-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.source-tab {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-bottom: 3px solid transparent;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.source-tab.is-active {
  color: var(--blue);
  border-bottom-color: var(--green);
}

.source-panel h3 {
  margin: 0 0 18px;
  color: var(--blue);
  font-family: var(--serif);
  font-size: 1.35rem;
}

.source-text {
  max-height: min(58vh, 620px);
  padding-right: 12px;
  overflow-y: auto;
  color: var(--ink);
}

.source-text p {
  margin: 0 0 16px;
  line-height: 1.62;
}

.info-modal {
  width: min(94vw, 980px);
  padding: 32px;
}

.info-modal h2 {
  margin: 0 56px 24px 0;
  color: var(--blue);
  font-family: var(--serif);
  font-size: 2rem;
}

.modal-language-control {
  position: sticky;
  top: 0;
  z-index: 2;
  float: right;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-right: 10px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--blue);
  background: #f3f4f6;
  font-size: 0.82rem;
  font-weight: 800;
}

.modal-language-control select {
  height: 30px;
  border: 1px solid #d3d8e2;
  border-radius: 8px;
  color: var(--blue);
  background: #fff;
  font-weight: 800;
}

.info-text {
  max-height: min(62vh, 660px);
  padding-right: 12px;
  overflow-y: auto;
  color: var(--ink);
}

.info-text section {
  margin-bottom: 28px;
}

.info-text h3 {
  margin: 0 0 10px;
  color: #234b89;
  font-family: var(--serif);
  font-size: 1.42rem;
  font-weight: 700;
  line-height: 1.2;
}

.info-text p {
  margin: 0;
  color: #2f3237;
  font-size: 1.04rem;
  line-height: 1.72;
}

.info-text a {
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.news-section {
  position: relative;
  min-height: 0;
  padding: 80px max(16px, 4vw);
  overflow: hidden;
  background: linear-gradient(180deg, #5a9ad6 0%, #4a85c2 35%, #234b89 100%);
}

.news-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.news-heading,
.news-carousel-shell {
  position: relative;
  z-index: 1;
}

.news-heading {
  margin-bottom: 40px;
}

.news-heading h2 {
  margin: 0;
  color: #fff;
  font-family: Merriweather, Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  text-shadow: 0 12px 24px rgba(22, 55, 99, 0.25);
}

.news-heading select {
  width: 140px;
  min-height: 40px;
  border: 0;
  border-radius: 12px;
  color: #234b89;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(20, 54, 100, 0.18);
}

.news-carousel-shell {
  max-width: 1160px;
  margin: 0 auto;
  padding: 24px;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.news-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  max-width: none;
  margin: 0;
}

.news-card {
  display: flex;
  flex: 0 0 320px;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  min-height: 390px;
  padding: 20px;
  border: 2px solid transparent;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 12px 26px rgba(20, 54, 100, 0.1);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(78, 191, 123, 0.3);
  box-shadow: 0 20px 42px rgba(20, 54, 100, 0.18);
}

.news-preview {
  position: relative;
  width: 100%;
  height: 192px;
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid #edf1f6;
  border-radius: 8px;
  background: #f8fafc;
}

.news-preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #fff;
}

.news-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.news-copy h3 {
  margin: 0 0 10px;
  color: #234b89;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.25;
}

.news-copy p {
  margin: 0;
  color: #66748a;
  font-size: 0.9rem;
  line-height: 1.45;
}

.program-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding: 8px 12px;
  border-radius: 999px;
  color: #4ebf7b;
  font-size: 0.78rem;
  font-weight: 800;
  transition: color 0.2s ease, background 0.2s ease;
}

.program-link:hover {
  color: #3fa968;
  background: #ecfbf2;
}

.news-heading {
  margin-bottom: 38px;
}

.news-heading h2 {
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(3rem, 4.2vw, 4.25rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.news-heading select {
  width: 176px;
  height: 46px;
  min-height: 46px;
  appearance: none;
  border: 0;
  border-radius: 16px;
  padding: 0 46px;
  color: #234b89;
  background-color: rgba(238, 245, 255, 0.94);
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%235f6673' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4M16 2v4M3 10h18M5 4h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2z'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%235f6673' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: 18px center, calc(100% - 17px) center;
  background-repeat: no-repeat;
  background-size: 19px, 18px;
  box-shadow: 0 8px 16px rgba(35, 75, 137, 0.2);
  font-size: 1.05rem;
  font-weight: 800;
}

.news-carousel-shell {
  position: relative;
  width: min(1440px, calc(100vw - 96px));
  max-width: none;
  min-height: 618px;
  margin: 0 auto;
  padding: 60px 40px;
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(210, 226, 242, 0.76) 72%, rgba(255, 255, 255, 0.2) 100%);
  box-shadow: inset 0 -70px 90px rgba(35, 75, 137, 0.16);
  backdrop-filter: blur(12px);
  scrollbar-width: none;
}

.news-carousel-shell::-webkit-scrollbar {
  display: none;
}

.news-carousel-shell::before,
.news-carousel-shell::after {
  display: none;
}

.news-grid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 30px;
  width: max-content;
  max-width: none;
  margin: 0;
  will-change: transform;
}

.news-section[data-selected-year="2025"] .news-card[data-year="2026"],
.news-section[data-selected-year="2026"] .news-card[data-year="2025"] {
  display: none !important;
}

.news-section[data-visible-count="1"] .news-grid {
  width: 100%;
  justify-content: center;
}

.news-card {
  display: flex;
  flex: 0 0 400px;
  flex-direction: column;
  align-items: stretch;
  min-height: 498px;
  padding: 28px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: none;
}

.news-card:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}

.news-preview {
  position: relative;
  appearance: none;
  cursor: zoom-in;
  width: 100%;
  height: 240px;
  margin: 0 0 44px;
  overflow: hidden;
  border: 1px solid #edf1f6;
  border-radius: 12px;
  background: #f8fafc;
  padding: 0;
}

.news-preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #fff;
  image-rendering: auto;
  transition: transform 260ms ease, filter 260ms ease;
}

.news-preview::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15 3h6v6M14 10l7-7M9 21H3v-6M10 14l-7 7' fill='none' stroke='%23234b89' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 25px no-repeat,
    rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 28px rgba(35, 75, 137, 0.18);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.78);
  transition: opacity 220ms ease, transform 220ms ease;
}

.news-preview:hover,
.news-preview:focus-visible {
  border-color: rgba(78, 191, 123, 0.48);
  outline: 0;
}

.news-preview:hover img,
.news-preview:focus-visible img {
  filter: saturate(1.04);
  transform: scale(1.045);
}

.news-preview:hover::after,
.news-preview:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.news-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.news-card h3 {
  min-height: 0;
  margin: 0;
  color: #234b89;
  font-family: Inter, Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.22;
}

.news-card p {
  display: none;
}

.program-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  color: #4ebf7b;
  font-weight: 800;
  line-height: 1;
}

.program-link::before {
  content: "";
  width: 17px;
  height: 17px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M14 2v6h6M9 13h6M9 17h6M9 9h1'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M14 2v6h6M9 13h6M9 17h6M9 9h1'/%3E%3C/svg%3E") center / contain no-repeat;
}

.program-link:hover,
.program-link:focus-visible {
  color: #3fa968;
  outline: 0;
}

.document-modal {
  width: min(94vw, 1120px);
  max-height: 94vh;
  padding: 22px;
  overflow: auto;
}

.document-modal[open] {
  animation: document-pop 240ms ease both;
}

.document-modal h2 {
  margin: 0 56px 18px 0;
  color: #234b89;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  line-height: 1.2;
}

.document-viewer {
  display: grid;
  place-items: center;
  height: min(72vh, 760px);
  overflow: hidden;
  border-radius: 14px;
  background: #f5f8fc;
}

.document-viewer img,
.document-viewer iframe {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border: 0;
  background: #fff;
}

.document-viewer img {
  object-fit: contain;
  object-position: center center;
  padding: 8px 14px 18px;
}

@keyframes document-pop {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.news-empty {
  min-height: 200px;
  display: grid;
  place-items: center;
  margin: 0;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  text-align: center;
}

.project-research {
  display: block;
  padding: 70px max(28px, 4.4vw) 72px;
  background: #fff;
}

.research-heading {
  margin: 0 auto 82px;
  text-align: center;
}

.research-heading h2 {
  margin: 0;
  color: #164893;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(1.35rem, 1.65vw, 1.7rem);
  font-weight: 500;
  line-height: 1.25;
}

.research-heading::after {
  content: "";
  display: block;
  width: 130px;
  height: 5px;
  margin: 26px auto 0;
  border-radius: 999px;
  background: #4ebf7b;
}

.research-layout {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(460px, 0.95fr);
  align-items: center;
  gap: clamp(44px, 5vw, 72px);
  max-width: 1680px;
  margin: 0 auto;
}

.project-research .about-copy {
  max-width: 820px;
}

.project-research .about-copy p {
  margin: 0 0 36px;
  color: #1d2d4d;
  font-size: clamp(1.08rem, 1.26vw, 1.42rem);
  line-height: 1.5;
  text-align: justify;
}

.project-research .about-copy p:last-child {
  margin-bottom: 0;
}

.research-team-card {
  position: relative;
  min-height: 568px;
  overflow: hidden;
  padding: 28px clamp(28px, 3.2vw, 56px) 26px;
  border-radius: 0 0 20px 20px;
  background: linear-gradient(180deg, #f7f9fc 0%, #edf3fa 42%, #c4d4e6 100%);
  box-shadow: 0 28px 70px rgba(35, 75, 137, 0.18);
}

.research-team-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 24px;
  color: #1f61b7;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(1.85rem, 2vw, 2.35rem);
  font-weight: 900;
  line-height: 1;
  text-align: right;
}

.research-team-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(22px, 2.5vw, 42px);
  row-gap: 22px;
}

.research-member {
  position: relative;
  z-index: 2;
  text-align: center;
}

.research-member img {
  width: min(128px, 100%);
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}

.research-member img.research-photo-andre {
  object-position: center 24%;
}

.research-member img.research-photo-laure {
  object-position: center 17%;
}

.research-member img.research-photo-mai {
  object-position: center 20%;
}

.research-member h4 {
  margin: 10px 0 8px;
  color: #464a54;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(1rem, 1.1vw, 1.22rem);
  font-weight: 900;
  line-height: 0.98;
}

.research-member p {
  margin: 0;
  color: #59616d;
  font-size: clamp(0.78rem, 0.82vw, 0.94rem);
  line-height: 1.2;
}

.shape {
  position: absolute;
  z-index: 0;
  display: block;
  border-radius: 50%;
  pointer-events: none;
}

.shape-blue {
  background: #1f61b7;
}

.shape-green {
  background: #5ed000;
}

.shape-ring {
  border: 1.5px solid #1f61b7;
}

.shape-lines {
  background: repeating-linear-gradient(-12deg, transparent 0 3px, #6bcf33 3px 5px);
}

.shape-lines-left {
  top: 48px;
  left: 18px;
  width: 96px;
  height: 96px;
  opacity: 0.82;
}

.shape-blue-left {
  top: 92px;
  left: 64px;
  width: 92px;
  height: 92px;
}

.shape-green-top {
  top: 14px;
  left: 110px;
  width: 50px;
  height: 50px;
}

.shape-ring-top {
  top: 0;
  left: 128px;
  width: 50px;
  height: 50px;
}

.shape-lines-right {
  right: 58px;
  bottom: 28px;
  width: 94px;
  height: 94px;
  opacity: 0.8;
}

.shape-blue-right {
  right: 34px;
  bottom: -34px;
  width: 92px;
  height: 92px;
}

.shape-green-right {
  right: 26px;
  bottom: 104px;
  width: 50px;
  height: 50px;
}

.shape-ring-right {
  right: 10px;
  bottom: 116px;
  width: 48px;
  height: 48px;
}

.search-section {
  min-height: 430px;
  padding: 24px clamp(24px, 4.4vw, 76px) 0;
  overflow: hidden;
  background: linear-gradient(180deg, #265a98 0%, #376faa 100%);
}

.search-section h1 {
  max-width: 1040px;
  margin: 0 auto 28px;
  color: #fff;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
}

.search-bar {
  max-width: 1364px;
  gap: 10px;
}

.search-field {
  flex: 1;
}

.search-bar input {
  min-height: 48px;
  border-radius: 16px;
  padding: 0 44px;
  color: #1f2937;
  background: rgba(249, 250, 253, 0.96);
  box-shadow: none;
  font-size: 1.18rem;
}

.search-bar input::placeholder {
  color: #74788a;
}

.search-bar > button {
  min-width: 152px;
  min-height: 48px;
  border-radius: 16px;
  font-size: 1.08rem;
  font-weight: 800;
  background: #4ebf7b;
}

.search-bar > button:hover {
  color: #fff;
  background: #111;
  box-shadow: none;
  transform: none;
}

.filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 42px;
  margin-top: 26px;
  padding: 0 14px;
  border-radius: 10px;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  transition: color 0.18s ease, background 0.18s ease;
}

.filter-toggle:hover {
  color: #111;
  background: transparent;
}

.filter-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.filter-toggle .filter-chevron {
  width: 18px;
  height: 18px;
  transform: rotate(180deg);
  transition: transform 0.2s ease;
}

.filter-toggle.is-open .filter-chevron {
  transform: rotate(0deg);
}

.filters {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 30px;
  row-gap: 34px;
  max-width: 1360px;
  min-height: 210px;
  margin: 28px auto 0;
  padding: 26px 34px 26px;
  border-radius: 14px;
  color: #6b7280;
  background: rgba(249, 250, 253, 0.96);
  box-shadow: 0 18px 45px rgba(18, 45, 84, 0.16);
}

.filters label {
  gap: 8px;
  min-width: 0;
  color: #6f7888;
  font-size: 0.86rem;
  font-weight: 800;
}

.filters select {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 0 44px 0 22px;
  color: #9aa2b2;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  font-style: italic;
  text-overflow: ellipsis;
}

.native-select-hidden {
  display: none;
}

.hover-select {
  position: relative;
}

.hover-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 0 14px 0 22px;
  color: #9aa2b2;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  font: inherit;
  font-style: italic;
  text-align: left;
}

.hover-select-trigger svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.18s ease;
}

.hover-select.is-open .hover-select-trigger svg {
  transform: rotate(180deg);
}

.hover-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 80;
  display: grid;
  width: 100%;
  max-height: 260px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 35px rgba(18, 45, 84, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.14s ease, transform 0.14s ease, visibility 0.14s ease;
}

.hover-select.is-open .hover-select-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hover-select-option {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  padding: 8px 10px;
  color: #334155;
  background: transparent;
  text-align: left;
  font-size: 0.92rem;
}

.hover-select-option:hover,
.hover-select-option.is-selected {
  color: #234b89;
  background: #edf4fb;
}

.clear-btn {
  grid-column: 1 / -1;
  justify-self: end;
  margin-top: 18px;
  padding: 0 6px;
  color: #111;
  font-weight: 500;
}

.clear-btn::before {
  content: "×";
  margin-right: 14px;
  font-size: 1.8rem;
  line-height: 0;
  vertical-align: -2px;
}

.word-panel {
  width: 100%;
  max-width: none;
  min-height: 0;
  margin: 64px auto 0;
  padding: 0;
  overflow: visible;
  border-radius: 28px;
  background: transparent;
  box-shadow: none;
}

.filters:not([hidden]) + .word-panel {
  margin-top: 62px;
}

.word-panel h2 {
  margin-bottom: 34px;
  color: #234b89;
  font-family: Inter, Arial, sans-serif;
  font-size: 1.36rem;
  font-weight: 500;
}

.result-count {
  display: block;
  color: #fff;
}

.word-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  width: 100%;
  box-sizing: border-box;
  max-width: 1600px;
  margin: 0 auto;
  padding-inline: clamp(24px, 3vw, 48px);
  text-align: left;
}

.word-grid.is-marquee {
  display: flex;
  grid-template-columns: none;
  width: max-content;
  max-width: none;
  animation: words-marquee 42s linear infinite;
}

.word-grid.is-marquee:hover {
  animation-play-state: paused;
}

.word-grid.is-marquee .word-card {
  flex: 0 0 min(440px, calc(100vw - 48px));
}

.word-card {
  min-height: 330px;
  padding: 34px 32px;
  border: 0;
  border-radius: 14px;
  box-shadow: none;
}

.word-card:hover {
  transform: none;
  box-shadow: none;
}

.word-card h3 {
  color: #174985;
  font-size: 1.42rem;
  font-weight: 800;
}

.word-kicker,
.word-details,
.word-meta span:nth-child(n + 3) {
  display: none;
}

.word-card > p {
  margin-top: 0;
  color: #24364f;
  font-size: 1.08rem;
}

.word-meta {
  margin-top: auto;
  color: #66748a;
  font-size: 1rem;
}

.word-meta span {
  padding: 0;
  background: transparent;
}

.sound-btn {
  color: #4ebf7b;
  background: transparent;
  font-size: 0;
}

.word-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: none;
}

.word-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 560px;
  padding: 28px 22px 20px;
  border-radius: 14px;
  background: #fff;
  color: #15253f;
}

.word-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.word-card h3 {
  margin: 0;
  color: #174985;
  font-family: Inter, Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.16;
}

.word-definition {
  margin: 28px 0 0;
  color: #1f2e45;
  font-size: 1rem;
  line-height: 1.45;
  text-align: justify;
  text-align-last: left;
}

.word-location {
  margin-top: 24px;
  color: #334155;
  font-size: 1rem;
  line-height: 1.5;
}

.word-location p {
  margin: 0 0 6px;
}

.word-place {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #44546a;
}

.word-place::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  background: #98a2b3;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M20 10c0 6-8 12-8 12S4 16 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M20 10c0 6-8 12-8 12S4 16 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
}

.word-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
}

.word-meta span {
  padding: 4px 10px;
  border: 1px solid #d9dee7;
  border-radius: 999px;
  color: #111;
  background: #fff;
  font-size: 0.82rem;
  font-weight: 800;
}

.word-examples {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.word-example {
  margin: 0;
  padding-left: 16px;
  border-left: 2px solid #4ebf7b;
  color: #334155;
  font-size: 1rem;
  font-style: italic;
  line-height: 1.45;
  text-align: justify;
  text-align-last: left;
}

.word-note {
  display: block;
  margin: 28px 0 0;
  padding: 14px 12px;
  border-radius: 10px;
  color: #5b6b82;
  background: #f8fafc;
  line-height: 1.45;
  overflow-wrap: anywhere;
  text-decoration: none;
  text-align: justify;
  text-align-last: left;
}

a.word-note:hover {
  color: #174985;
  text-decoration: underline;
}

.word-bottom {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #edf1f6;
  color: #174985;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
}

.word-bottom span {
  flex: 0 0 auto;
  color: #111;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.word-bottom strong {
  flex: 1 1 auto;
  min-width: 0;
  font: inherit;
  overflow-wrap: anywhere;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 32px auto 0;
}

.pagination[hidden] {
  display: none;
}

.pagination-btn,
.pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1rem;
  font-weight: 800;
}

.pagination-prev,
.pagination-next {
  min-width: 118px;
  padding: 0 16px;
}

.pagination-btn.is-active,
.pagination-next {
  color: #174985;
  background: #fff;
}

.pagination-btn:disabled {
  color: rgba(23, 73, 133, 0.65);
  background: rgba(255, 255, 255, 0.38);
  cursor: not-allowed;
}

.pagination-btn:not(:disabled):hover {
  color: #174985;
  background: #fff;
}

.pagination-ellipsis {
  border: 0;
  background: transparent;
}

@keyframes words-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 15px));
  }
}

main > .hero {
  order: 1;
}

main > .search-section {
  order: 2;
}

main > .news-section {
  order: 3;
}

main > .about-section {
  order: 4;
}

main > .themes-section {
  order: 5;
}

main > .map-section {
  order: 6;
}

main > .team-section {
  order: 7;
}

main > .faq-section {
  order: 8;
}

.legacy-news-grid {
  display: none !important;
}

.themes-section > p:not(.travel-note) {
  max-width: 1280px;
  text-wrap: balance;
  font-size: clamp(1.12rem, 1.35vw, 1.38rem);
  line-height: 1.45;
}

.source-text,
.info-text {
  max-width: 880px;
  margin: 0 auto;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  overflow-wrap: anywhere;
}

.source-text p,
.info-text p {
  margin: 0 0 16px;
  line-height: 1.72;
}

.info-text h3 {
  margin: 26px 0 10px;
  color: var(--blue);
  font-family: var(--serif);
  font-size: 1.22rem;
  text-align: left;
}

.map-section {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 58px;
  padding: 86px max(20px, 7vw) 88px;
  text-align: center;
  background: #fff;
}

.map-section > div {
  max-width: 920px;
}

.map-section h2 {
  margin: 0 0 26px;
  color: #123f83;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(1.15rem, 1.6vw, 1.55rem);
  font-weight: 500;
  line-height: 1.2;
}

.map-section p {
  margin: 0 auto;
  max-width: 920px;
  color: #334765;
  font-size: clamp(1.18rem, 1.75vw, 1.52rem);
  line-height: 1.55;
  text-wrap: balance;
}

.interactive-map {
  width: min(1232px, 100%);
  max-height: none;
  padding: 34px 48px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(23, 73, 133, 0.12);
}

.interactive-map .map-base,
.interactive-map .map-svg {
  width: 100%;
  max-height: 640px;
  object-fit: contain;
  border-radius: 0;
}

.interactive-map .map-overlay {
  inset: 34px 48px;
  width: calc(100% - 96px);
  height: calc(100% - 68px);
  border-radius: 0;
}

@media (min-width: 981px) {
  .search-section {
    min-height: 650px;
    padding: 112px clamp(40px, 8vw, 150px) 0;
  }

  .search-section h1 {
    max-width: 1320px;
    margin-bottom: 40px;
    font-size: clamp(3.2rem, 4.7vw, 4.25rem);
    line-height: 1.05;
  }

  .search-bar {
    max-width: 1232px;
    gap: 10px;
  }

  .search-bar input {
    min-height: 66px;
    border-radius: 18px;
    padding: 0 66px;
    font-size: 1.42rem;
  }

  .search-bar > button {
    min-width: 196px;
    min-height: 66px;
    border-radius: 18px;
    font-size: 1.32rem;
  }

  .filter-toggle {
    margin-top: 30px;
    outline: none;
    box-shadow: none;
  }

  .filter-toggle:focus,
  .filter-toggle:focus-visible {
    outline: none;
    box-shadow: none;
  }

  .filters {
    max-width: 1232px;
    min-height: 245px;
    margin-top: 32px;
    padding: 24px;
  }

  .word-panel {
    margin-top: 58px;
  }

  .results-bar,
  .word-grid,
  .pagination {
    max-width: 1520px;
  }

  .results-bar,
  .word-grid {
    padding-inline: clamp(28px, 3vw, 56px);
  }

  .word-panel {
    margin-top: 38px;
    padding-bottom: 18px;
  }

  .filters:not([hidden]) + .word-panel {
    margin-top: 38px;
  }

  .results-bar {
    margin-bottom: 18px;
    font-size: 0.95rem;
  }

  .word-grid {
    gap: 18px;
  }

  .word-card {
    min-height: 0;
    height: 300px;
    padding: 20px 22px 16px;
    overflow: hidden;
  }

  .word-card h3 {
    display: -webkit-box;
    overflow: hidden;
    font-size: 1.12rem;
    line-height: 1.14;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .sound-btn {
    width: 34px;
    height: 34px;
  }

  .sound-icon {
    width: 24px;
    height: 24px;
  }

  .word-definition {
    display: -webkit-box;
    overflow: hidden;
    max-height: none;
    margin-top: 12px;
    font-size: 0.93rem;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .word-location {
    gap: 5px;
    margin-top: 12px;
    font-size: 0.88rem;
  }

  .word-pronunciation {
    display: -webkit-box;
    overflow: hidden;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .word-meta {
    gap: 6px;
    margin: 10px 0 0;
  }

  .word-meta span {
    padding: 3px 8px;
    font-size: 0.72rem;
  }

  .word-examples {
    gap: 8px;
    margin-top: 12px;
  }

  .word-example {
    display: -webkit-box;
    overflow: hidden;
    padding-left: 12px;
    font-size: 0.86rem;
    line-height: 1.32;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .word-example:nth-child(n + 2),
  .word-note {
    display: none;
  }

  .word-bottom {
    padding-top: 9px;
    font-size: 1.05rem;
  }

  .pagination {
    margin-top: 22px;
  }

  .word-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: minmax(376px, auto);
    gap: 22px;
    max-width: 1594px;
    align-items: stretch;
  }

  .word-card {
    min-height: 376px;
    height: auto;
    padding: 28px 26px 22px;
    overflow: visible;
  }

  .word-card h3,
  .word-definition,
  .word-pronunciation,
  .word-example {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
  }

  .word-card h3 {
    font-size: 1.18rem;
    line-height: 1.14;
  }

  .word-definition {
    margin-top: 16px;
    font-size: 0.92rem;
    line-height: 1.34;
  }

  .word-location {
    margin-top: 18px;
    font-size: 0.9rem;
  }

  .word-meta {
    margin-top: 16px;
  }

  .word-examples {
    margin-top: 18px;
  }

  .word-example {
    font-size: 0.88rem;
    line-height: 1.34;
  }

  .word-example:nth-child(n + 2),
  .word-note {
    display: block;
  }

  .news-section {
    padding: 86px max(16px, 4vw) 80px;
    background: linear-gradient(180deg, #5a9ad6 0%, #5595d0 48%, #4d89c6 100%);
  }

  .news-heading {
    justify-content: center;
    gap: 44px;
    margin-bottom: 46px;
  }

  .news-heading h2 {
    font-size: clamp(2.8rem, 4.1vw, 3.95rem);
    line-height: 1.05;
  }

  .news-carousel-shell {
    width: min(1584px, calc(100vw - 156px));
    min-height: 618px;
    padding: 56px 40px;
    border-radius: 30px;
  }
}

@media (max-width: 980px) {
  .site-header {
    height: auto;
    min-height: 80px;
    flex-wrap: wrap;
    gap: 12px;
    padding: 8px 20px 14px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 24px rgba(35, 75, 137, 0.12);
  }

  .brand-logo-light {
    opacity: 0;
  }

  .brand-logo-dark {
    opacity: 1;
  }

  .main-nav {
    order: 3;
    width: 100%;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 2px;
    font-size: 0.92rem;
  }

  .hero-bg {
    min-height: 520px;
  }

  .word-grid,
  .news-card,
  .about-section,
  .map-section,
  .team-grid,
  .footer-nav-grid,
  .docs-grid {
    grid-template-columns: 1fr;
  }

  .partner-logos {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-top: 52px;
  }

  .partner-logo-card,
  .partner-logo-card-small,
  .partner-logo-card-wide {
    width: 100%;
  }

  .footer-nav-grid {
    text-align: center;
  }

  .themes-section .theme-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filters {
    grid-template-columns: 1fr 1fr;
    column-gap: 22px;
    row-gap: 24px;
  }

  .search-bar,
  .filters {
    max-width: 100%;
  }

  .clear-btn {
    grid-column: 1 / -1;
  }

  .news-card {
    flex-basis: min(320px, 100%);
  }

  .project-research {
    padding: 58px 22px;
  }

  .research-heading {
    margin-bottom: 48px;
  }

  .research-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .project-research .about-copy {
    max-width: none;
  }

  .project-research .about-copy p {
    text-align: left;
  }

  .research-team-card {
    min-height: 0;
  }

  .contact-main {
    gap: 40px;
    padding-top: 176px;
  }

  .contact-address-card {
    min-height: 0;
    padding: 42px 28px 38px;
  }

  .contact-form-card {
    padding: 42px 32px;
  }

  .contact-form-heading {
    margin-bottom: 48px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .header-actions {
    margin-left: auto;
  }

  .search-section {
    padding-top: 64px;
  }

  .search-bar,
  .section-heading {
    flex-direction: column;
  }

  .search-bar input {
    padding: 0 22px;
    font-size: 1rem;
  }

  .search-bar > button {
    width: 100%;
  }

  .language-pair {
    grid-template-columns: 1fr;
  }

  .search-suggestions {
    position: static;
    margin-top: 8px;
  }

  .filters {
    grid-template-columns: 1fr;
  }

  .themes-section {
    padding-inline: 18px;
  }

  .themes-section .theme-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .themes-section .theme-card {
    min-height: 230px;
    padding: 28px 24px;
  }

  .themes-section .travel-note {
    padding: 30px 22px;
  }

  .hero-bg {
    min-height: 420px;
  }

  .news-card,
  .word-card,
  .theme-card,
  .team-card {
    padding: 22px;
  }

  .team-card {
    min-height: 660px;
    padding: 0;
  }

  .team-photo {
    min-height: 660px;
  }

  .team-card-bio {
    padding: 26px 22px;
  }

  .team-card-bio p {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .news-section {
    padding: 64px 16px;
  }

  .news-carousel-shell {
    padding: 16px;
  }

  .news-preview {
    height: 210px;
  }

  .research-team-card {
    padding: 24px 18px;
  }

  .research-team-card h3 {
    text-align: center;
  }

  .research-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 16px;
  }

  .research-member img {
    width: min(108px, 100%);
  }

  .shape-lines-left,
  .shape-blue-left,
  .shape-lines-right,
  .shape-blue-right {
    transform: scale(0.7);
  }

  .contact-main {
    gap: 28px;
    padding: 164px 16px 46px;
  }

  .contact-address-card,
  .contact-form-card {
    border-radius: 14px;
  }

  .contact-address-card {
    padding: 34px 20px 30px;
  }

  .contact-icon {
    width: 74px;
    height: 74px;
    border-radius: 18px;
  }

  .contact-icon svg {
    width: 38px;
    height: 38px;
  }

  .contact-address-card h1 {
    margin: 22px 0 16px;
  }

  .contact-form-card {
    padding: 32px 18px 28px;
  }

  .contact-form-heading {
    margin-bottom: 38px;
  }

  .contact-field textarea {
    min-height: 220px;
  }

  .contact-submit {
    gap: 14px;
  }
}
