/* One compact, keyboard-accessible language choice on every page. */
.language-switch {
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: 2px;
  padding: 2px;
  border: 1px solid #ffffff70;
  border-radius: 999px;
  font: 700 13px/1 'PT Sans', Arial, sans-serif;
  letter-spacing: .03em;
}
.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
}
.language-switch a[aria-current="true"] { background: #fff; color: #08285e; }
.language-switch a:hover { background: #ffffff24; }
.language-switch a[aria-current="true"]:hover { background: #e6f3f1; }
.language-switch a:focus-visible { outline: 3px solid #ef634d; outline-offset: 2px; }
.language-switch-mobile, .mobile-social-links { display: none; }
.site-header .nav-wrap { gap: 14px; }
.course-header .header-inner { gap: 18px; }
.course-header .desktop-nav { gap: 20px; margin-right: 0; }
.course-header > .header-inner > .language-switch { margin-left: 0; }
.language-links a[aria-current="true"] { font-weight: 700; text-decoration-thickness: 2px; }
html[lang="en"] .hero h1 { text-wrap: balance; }
html[lang="en"] .education-card .button { white-space: normal; }
.site-header #main-nav > a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: #90cac2; }
@media(min-width:1321px) {
  .site-header .nav-wrap { max-width: 1320px; width: calc(100% - 48px); }
  .site-header #main-nav { gap: 21px; font-size: 15px; }
  .site-header #main-nav a.programme-nav-link { max-width: none; white-space: nowrap; min-height: 40px; padding: 10px 18px; font-size: 14px; line-height: 1.2; }
}
@media(max-width:1320px) {
  .site-header .menu-toggle { display: block; order: 4; flex: none; min-height: 44px; border-radius: 999px; }
  .site-header #main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100svh - 58px); overflow-y: auto; padding: 20px; background: #061b39; box-shadow: 0 12px 16px #0002; }
  .site-header #main-nav.is-open { display: grid; gap: 0; top: 100%; }
  .site-header #main-nav > a { padding: 13px 4px; min-height: 44px; }
  .site-header #main-nav a.programme-nav-link { padding: 10px 16px; margin-bottom: 8px; }
  .site-header #main-nav a[href$="ai-course.html"] { max-width: none; }
  .site-header .nav-wrap > .language-switch { margin-left: auto; }
  .site-header .header-social { margin-left: 0; }
  .course-header .desktop-nav { display: none; }
  .course-header .mobile-menu { display: block; margin-left: 0; }
  .course-header .header-inner { flex-wrap: nowrap; }
  .course-header > .header-inner > .language-switch { margin-left: auto; }
  .course-header .header-cta { display: none; }
  .course-header .header-social { margin-left: 0; }
  .language-switch-mobile { display: flex; width: max-content; max-width: 100%; margin-top: 16px; }
  .site-header #main-nav .language-switch a, .mobile-nav .language-switch a { min-width: 100px; padding: 12px 16px; font-size: 15px; }
}
@media(max-width:480px) {
  .site-header .nav-wrap { width: calc(100% - 28px); gap: 8px; }
  .course-header .header-inner { width: calc(100% - 28px); gap: 8px; }
  .site-header .nav-wrap > .header-social, .course-header .header-inner > .header-social { display: none; }
  .course-header .brand, .course-header .brand img { width: 98px; height: auto; }
  .course-header .mobile-menu .menu-toggle { padding-inline: 10px; gap: 6px; }
  .mobile-social-links { display: flex; gap: 12px; margin-top: 20px; }
  .mobile-social-links a { display: grid; place-items: center; min-width: 44px; min-height: 44px; }
  .mobile-social-links img { width: 24px; height: 24px; }
}
@media print { .language-switch, .mobile-social-links { display: none; } }
