@font-face {
  font-family: "Didact Gothic";
  src: url("fonts/didactgothic.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Roboto;
  src: url("fonts/roboto.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #11273e;
  --blue: #1e4a90;
  --navy: #082844;
  --mist: #eef5f8;
  --muted: #4c6273;
  --line: #d6e2e8;
  font-family: Roboto, system-ui, sans-serif;
  color: var(--ink);
  background: white;
}

* { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
img { display: block; width: 100%; object-fit: cover; }
a { color: inherit; }
a:focus-visible, button:focus-visible, .news-track:focus-visible { outline: 3px solid #e58a11; outline-offset: 3px; }
.wrap { width: min(1120px, calc(100% - 2 * clamp(20px, 5vw, 68px))); margin-inline: auto; }
.skip { position: absolute; top: 8px; left: 8px; z-index: 2; padding: 12px; background: white; }
.skip:not(:focus) { clip-path: inset(50%); }
.site-header { background: var(--blue); color: white; }
.header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: clamp(10px, 2vw, 24px); min-height: 79px; }
.brand { justify-self: start; }
.brand img { width: min(100%, 276px); height: auto; filter: brightness(0) invert(1); }
.menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 4px; color: inherit; background: transparent; cursor: pointer; }
.menu-toggle:hover { background: #ffffff20; }
.main-nav { position: absolute; inset: 71px max(20px, 5vw, calc((100% - 1120px) / 2)) auto auto; width: min(300px, calc(100% - 40px)); margin: 0; padding: 8px; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 12px 30px #08284430; background: white; color: var(--blue); font: 700 19px "Didact Gothic", Roboto, sans-serif; }
.main-nav a { display: block; padding: 12px 15px; border-radius: 4px; text-decoration: none; }
.main-nav a:hover { background: var(--mist); }
.language-link { border: 1px solid #ffffff75; border-radius: 4px; padding: 8px 11px; font-size: 14px; font-weight: 700; text-decoration: none; }
.language-link:hover { background: #ffffff20; }
.hero { isolation: isolate; position: relative; display: grid; align-items: end; min-height: clamp(350px, 43vw, 560px); color: white; background: var(--navy); }
.hero img, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero img { object-position: center 45%; }
.hero::after { content: ""; background: linear-gradient(0deg, #061e35e0 0%, #061e3550 46%, #061e3500 82%); }
.hero-inner { padding-block: 60px 52px; }
h1 { max-width: 780px; font-family: "Didact Gothic", Roboto, sans-serif; font-size: clamp(42px, 6.5vw, 78px); line-height: .98; letter-spacing: -.035em; }
h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -.045em; }
.text-link { color: var(--blue); font-weight: 680; text-underline-offset: 4px; }
.text-link:hover { color: var(--navy); }
.text-link span { display: inline-block; margin-left: 3px; }
.news { background: var(--mist); padding-block: clamp(42px, 6vw, 78px); }
.section-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 28px; margin-bottom: 26px; }
.news-actions, .news-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.news-actions { gap: 12px 18px; }
.news-controls[hidden] { display: none; }
.news-controls button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--blue); border-radius: 50%; background: var(--blue); color: white; font: inherit; font-size: 23px; cursor: pointer; }
.news-controls button:not(:disabled):hover { background: var(--navy); }
.news-controls button:disabled { background: transparent; border-color: var(--line); color: var(--muted); cursor: default; }
.news-track { --items: 2; --gap: 20px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--items) - 1) * var(--gap)) / var(--items)); gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-block: 4px 12px; scrollbar-width: thin; }
.news-card { min-width: 0; border-radius: 8px; scroll-snap-align: start; }
.news-card a { position: relative; display: grid; align-items: end; isolation: isolate; min-height: clamp(330px, 38vw, 425px); height: 100%; overflow: hidden; border-radius: inherit; background: var(--navy); color: white; text-decoration: none; }
.news-card a:focus-visible { outline-offset: -3px; }
.news-card a:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.news-photo { position: absolute; inset: 0; z-index: -1; }
.news-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #061e35 0%, #061e35e8 30%, #061e3550 62%, transparent 100%); }
.news-photo img { height: 100%; }
.news-copy { padding: clamp(18px, 3vw, 32px); background: linear-gradient(0deg, #061e35a0, #061e3560 calc(100% - 18px), transparent); }
.news-copy time { color: #e3edf7; font-size: 14px; }
.news-copy h3 { margin-top: 8px; font-size: clamp(21px, 2.4vw, 30px); line-height: 1.18; letter-spacing: -.015em; overflow-wrap: anywhere; }
.social-icons, .affiliation-links, .partner-links { list-style: none; padding: 0; }
.social-icons { display: flex; justify-content: center; gap: 6px; margin: 0; }
.social-icons a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; }
.social-icons a:hover { background: #ffffff20; }
.icon { display: block; width: 24px; height: 24px; object-fit: contain; }
.site-footer .icon { filter: brightness(0) invert(1); }
.site-footer { background: var(--blue); color: white; font-family: "Didact Gothic", Roboto, sans-serif; }
.site-footer a { text-underline-offset: 4px; }
.affiliation { padding-block: clamp(42px, 6vw, 72px); text-align: center; }
.affiliation p { max-width: 65ch; margin: 16px auto 0; line-height: 1.6; }
.affiliation-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 32px 0 0; }
.affiliation-links a { display: flex; flex-direction: column; align-items: center; gap: 17px; padding: 10px 8px; font-size: 19px; font-weight: 700; text-decoration: none; }
.affiliation-links .icon { width: 49px; height: 49px; }
.affiliation-links a:hover { text-decoration: underline; }
.footer-main { display: grid; justify-items: center; gap: 18px; max-width: 580px; margin-inline: auto; padding-block: 4px 32px; }
.partner-links { display: grid; width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; justify-items: center; gap: clamp(12px, 4vw, 36px); margin: 0; }
.partner-links a { display: block; }
.partner-links img { width: 150px; max-width: 100%; max-height: 75px; object-fit: contain; }
.footer-bottom { max-width: 580px; margin-inline: auto; padding-block: 26px; border-top: 1px solid #ffffff50; text-align: center; font-size: 14px; font-weight: 600; line-height: 1.5; }
.footer-bottom address { font-style: normal; }

@media (max-width: 680px) {
  .news-track { --items: 1; }
}

@media (max-width: 570px) {
  .brand img { max-width: 212px; }
  .hero-inner { padding-block: 60px 38px; }
  .affiliation-links { gap: 6px; }
  .affiliation-links a { gap: 12px; font-size: 15px; }
  .affiliation-links .icon { width: 36px; height: 36px; }
  .partner-links img { max-height: 55px; }
}

@media (prefers-reduced-motion: reduce) {
  .news-track { scroll-behavior: auto; }
}
