/*
 * EduQwirkle visual standard
 * Based on the Mistrzostwa Polski Szkół editorial language.
 * Loaded after page-specific styles so public EduQwirkle pages share one system.
 */

:is(.edu-page:not(.championships-page), .teacher-entry-page) {
  --edu-paper: #faf8f3;
  --edu-ink: #18191b;
  --edu-muted: #606267;
  --edu-line: #dedbd5;
  --edu-red: #d62b33;
  --edu-orange: #ed8219;
  --edu-yellow: #f6d447;
  --edu-green: #087f50;
  --edu-blue: #0788c8;
  --edu-purple: #6b54ac;
  --edu-navy: #153c50;
  background: var(--edu-paper);
  color: var(--edu-ink);
}

:is(.edu-page:not(.championships-page), .teacher-entry-page) h1,
:is(.edu-page:not(.championships-page), .teacher-entry-page) h2,
:is(.edu-page:not(.championships-page), .teacher-entry-page) h3,
:is(.edu-page:not(.championships-page), .teacher-entry-page) strong {
  letter-spacing: -0.035em;
}

.edu-page:not(.championships-page) .site-header,
.teacher-entry-header {
  min-height: 86px;
  padding: 14px 4vw;
  border-color: var(--edu-line);
  background: rgba(250, 248, 243, 0.96);
  box-shadow: none;
}

.edu-page:not(.championships-page) .brand img,
.teacher-entry-logo {
  width: 148px;
}

.edu-page:not(.championships-page) .main-nav {
  gap: 3px;
  font-size: 12px;
}

.edu-page:not(.championships-page) .main-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 9px 11px;
  font-weight: 900;
}

.edu-page:not(.championships-page) .main-nav a[class$="-nav"],
.edu-page:not(.championships-page) .main-nav .nav-home {
  border-radius: 999px;
  box-shadow: none;
}

.edu-page:not(.championships-page) .breadcrumbs {
  padding: 22px 5vw 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.edu-page:not(.championships-page) .eyebrow,
.teacher-entry-eyebrow,
.teacher-entry-section-label {
  color: #a32d2d;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.edu-page:not(.championships-page) .button,
.teacher-entry-button,
.teacher-entry-hero-button,
.directory-signup-cta {
  min-height: 50px;
  padding: 13px 21px;
  border-radius: 999px;
  box-shadow: none;
  font-size: 14px;
  font-weight: 950;
}

.edu-page:not(.championships-page) .button:hover,
.teacher-entry-button:hover,
.teacher-entry-hero-button:hover,
.directory-signup-cta:hover {
  transform: translateY(-2px);
}

.qwirkle-marks,
.edu-hero-copy::before,
.directory-intro-copy::before,
.rental-hero-copy::before,
.teacher-entry-hero > div:first-child::before {
  color: var(--edu-red);
}

.qwirkle-marks {
  display: flex;
  gap: 11px;
  margin: 22px 0 20px;
}

.qwirkle-marks i {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--edu-red);
  font-size: 31px;
  font-style: normal;
  line-height: 1;
}

.qwirkle-marks i:nth-child(2) { color: var(--edu-orange); }
.qwirkle-marks i:nth-child(3) { color: #e7be00; }
.qwirkle-marks i:nth-child(4) { color: var(--edu-green); }
.qwirkle-marks i:nth-child(5) { color: var(--edu-blue); }
.qwirkle-marks i:nth-child(6) { color: var(--edu-purple); }

.directory-intro-copy::before,
.rental-hero-copy::before,
.teacher-entry-hero > div:first-child::before {
  content: "●  ✦  ◆  ■  ✷  ✚";
  display: block;
  margin-bottom: 18px;
  word-spacing: 8px;
  font-size: 26px;
  font-weight: 950;
  letter-spacing: 0;
  background: linear-gradient(90deg, var(--edu-red) 0 16%, var(--edu-orange) 16% 32%, #e7be00 32% 48%, var(--edu-green) 48% 64%, var(--edu-blue) 64% 80%, var(--edu-purple) 80%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Main EduQwirkle page */
.edu-page:not(.championships-page) .edu-hero {
  position: relative;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  min-height: auto;
  gap: 4vw;
  padding: 44px 5vw 90px;
  background: radial-gradient(ellipse at 90% 60%, #f5dbca 0, transparent 52%);
}

.edu-page:not(.championships-page) .edu-hero .edu-hero-copy::before {
  content: none;
}

.edu-page:not(.championships-page) .edu-hero h1 {
  max-width: 760px;
  margin: 0 0 24px;
  color: var(--edu-ink);
  font-size: clamp(58px, 6.6vw, 102px);
  font-weight: 950;
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.edu-page:not(.championships-page) .edu-hero h1 span {
  color: var(--edu-red);
}

.edu-page:not(.championships-page) .edu-hero-lead {
  max-width: 580px;
  color: var(--edu-muted);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.58;
}

.edu-page:not(.championships-page) .edu-hero-visual {
  position: relative;
  margin: 24px 18px 22px 0;
  border: 8px solid #fff;
  border-radius: 6px;
  background: #fff;
  box-shadow: 14px 22px 0 var(--edu-red), 0 30px 60px rgba(73, 40, 28, 0.14);
  transform: rotate(-1.7deg);
}

.edu-page:not(.championships-page) .edu-hero-visual::after {
  content: "EDU";
  position: absolute;
  top: -42px;
  right: -22px;
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border: 5px solid var(--edu-paper);
  border-radius: 50%;
  background: var(--edu-yellow);
  color: var(--edu-ink);
  font-size: 22px;
  font-weight: 950;
  transform: rotate(10deg);
}

.edu-page:not(.championships-page) .edu-hero-visual img {
  filter: none;
}

.edu-page:not(.championships-page) .hero-actions {
  gap: 10px;
  margin-top: 28px;
}

.edu-page:not(.championships-page) .edu-section-block,
.edu-page:not(.championships-page) .teacher-center-promo,
.edu-page:not(.championships-page) .edu-momentum,
.edu-page:not(.championships-page) .edu-rental,
.edu-page:not(.championships-page) .lesson-program,
.edu-page:not(.championships-page) .edu-contact {
  padding: 85px 7vw;
}

.edu-page:not(.championships-page) :is(.edu-heading, .teacher-center-copy, .edu-momentum-copy, .rental-section-heading) h2,
.edu-page:not(.championships-page) :is(.edu-directory-link, .edu-rental, .lesson-program, .edu-contact) h2 {
  font-size: clamp(38px, 4.6vw, 66px);
  font-weight: 950;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.edu-page:not(.championships-page) .teacher-center-promo {
  border: 0;
  background: var(--edu-yellow);
}

.edu-page:not(.championships-page) .teacher-center-preview {
  padding: 8px;
  border: 0;
  border-radius: 5px;
  box-shadow: 11px 13px 0 var(--edu-ink);
  transform: rotate(1deg);
}

.edu-page:not(.championships-page) .teacher-center-benefits {
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(24, 25, 27, 0.22);
  border-radius: 10px;
}

.edu-page:not(.championships-page) .teacher-center-benefits div {
  border: 0;
  border-right: 1px solid rgba(24, 25, 27, 0.18);
  border-bottom: 1px solid rgba(24, 25, 27, 0.18);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.46);
}

.edu-page:not(.championships-page) .teacher-center-benefits strong {
  color: var(--edu-ink);
}

.edu-page:not(.championships-page) .edu-momentum {
  border: 0;
  background: var(--edu-paper);
}

.edu-page:not(.championships-page) .edu-community-counter {
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 9px 9px 0 var(--edu-blue);
}

.edu-page:not(.championships-page) .edu-community-total {
  color: var(--edu-ink);
}

.edu-page:not(.championships-page) :is(.edu-benefit-grid, .uses-grid) {
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--edu-line);
  border-radius: 12px;
}

.edu-page:not(.championships-page) :is(.edu-benefit-grid, .uses-grid) article {
  min-height: 230px;
  border: 0;
  border-right: 1px solid var(--edu-line);
  border-bottom: 1px solid var(--edu-line);
  border-radius: 0;
  background: transparent;
}

.edu-page:not(.championships-page) .edu-why,
.edu-page:not(.championships-page) .edu-uses,
.edu-page:not(.championships-page) .edu-materials {
  background: var(--edu-paper);
}

.edu-page:not(.championships-page) .edu-path,
.edu-page:not(.championships-page) .edu-faq {
  background: #f0eee9;
}

.edu-page:not(.championships-page) .variant-grid {
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--edu-line);
  border-radius: 12px;
}

.edu-page:not(.championships-page) .variant-card {
  border: 0;
  border-right: 1px solid var(--edu-line);
  border-bottom: 1px solid var(--edu-line);
  border-radius: 0;
}

.edu-page:not(.championships-page) .edu-outcomes {
  background: var(--edu-navy);
}

.edu-page:not(.championships-page) .edu-start {
  background: var(--edu-yellow);
}

.edu-page:not(.championships-page) .download-strip,
.edu-page:not(.championships-page) .resource-links a,
.edu-page:not(.championships-page) .download-grid a {
  border-radius: 8px;
  box-shadow: none;
}

.edu-page:not(.championships-page) .edu-rental {
  background: #e8f6ff;
}

.edu-page:not(.championships-page) .lesson-program {
  background: #edf8f2;
}

.edu-page:not(.championships-page) .edu-contact {
  color: #fff;
  background: var(--edu-red);
}

.edu-page:not(.championships-page) .edu-contact .eyebrow,
.edu-page:not(.championships-page) .edu-contact p {
  color: #fff1dc;
}

.edu-page:not(.championships-page) .edu-contact-card {
  border-radius: 8px;
  box-shadow: none;
}

.edu-page:not(.championships-page) .site-footer {
  background: var(--edu-ink);
  color: #eee;
  font-size: 12px;
}

/* Directory */
.directory-page-main {
  width: min(1400px, calc(100% - 10vw));
}

.directory-intro {
  padding: 52px 0 44px;
}

.directory-intro h1 {
  max-width: 980px;
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.directory-counters {
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--edu-line);
  border-radius: 12px;
}

.directory-counter {
  min-height: 130px;
  border: 0;
  border-right: 1px solid var(--edu-line);
  border-radius: 0;
  background: transparent;
}

button.directory-counter.is-active {
  box-shadow: inset 0 6px currentColor;
}

.directory-counter strong {
  font-size: clamp(48px, 5vw, 72px);
}

.directory-overview,
.directory-filters,
.directory-table-wrap {
  border-color: var(--edu-line);
  border-radius: 10px;
  box-shadow: none;
}

.directory-overview {
  background: #fff;
}

.directory-table th {
  background: var(--edu-navy);
  color: #fff;
}

/* Rentals */
.rental-page {
  background: var(--edu-paper);
}

.rental-page .rental-hero {
  padding: 48px 5vw 86px;
  background: radial-gradient(ellipse at 90% 60%, #ddecf4 0, transparent 54%);
}

.rental-page .rental-hero h1 {
  font-size: clamp(54px, 6vw, 90px);
  font-weight: 950;
  letter-spacing: -0.055em;
}

.rental-page .rental-hero figure {
  border: 8px solid #fff;
  border-radius: 5px;
  background: #fff;
  box-shadow: 13px 17px 0 var(--edu-blue);
  transform: rotate(-1.2deg);
}

.rental-page .rental-hero img {
  border-radius: 0;
  box-shadow: none;
}

.rental-page .rental-summary {
  background: var(--edu-navy);
  color: #fff;
}

.rental-page .rental-summary .eyebrow { color: #8bd5ee; }
.rental-page .rental-summary-grid { border-radius: 10px; }
.rental-page .rental-summary-grid article { min-height: 190px; }
.rental-page .rental-terms-section { background: var(--edu-paper); }
.rental-page .rental-term { border-radius: 8px; box-shadow: none; }
.rental-page .rental-cta { background: var(--edu-yellow); }

/* Public teacher centre */
.teacher-entry-page {
  min-height: 100vh;
}

.teacher-entry-header {
  grid-template-columns: 180px minmax(260px, 1fr) auto;
}

.teacher-entry-title span { color: var(--edu-muted); }
.teacher-entry-layout { grid-template-columns: 250px minmax(0, 1fr); }
.teacher-entry-sidebar { top: 86px; height: calc(100vh - 86px); background: #f0eee9; border-color: var(--edu-line); }
.teacher-entry-nav { border-radius: 7px; }
.teacher-entry-nav.active { box-shadow: inset 5px 0 var(--edu-red); }
.teacher-entry-nav.public { color: var(--edu-ink); background: var(--edu-yellow); border-color: #dfbe34; }
.teacher-entry-main { padding-top: 42px; }

.teacher-entry-hero {
  min-height: 480px;
  padding: clamp(38px, 5vw, 74px);
  color: var(--edu-ink);
  background: radial-gradient(ellipse at 88% 55%, #f5dbca 0, transparent 52%), var(--edu-paper);
  border: 1px solid var(--edu-line);
  border-radius: 8px;
  box-shadow: none;
}

.teacher-entry-hero h1 {
  color: var(--edu-ink);
  font-size: clamp(48px, 5.6vw, 84px);
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.teacher-entry-lead { color: var(--edu-muted); }
.teacher-entry-hero-button { color: #fff; background: var(--edu-red); }
.teacher-entry-login-link { color: var(--edu-ink); }
.teacher-entry-mark { border-radius: 6px; color: #fff; background: var(--edu-red); box-shadow: 12px 14px 0 var(--edu-yellow); transform: rotate(2deg); }
.teacher-entry-section h2 { font-size: clamp(36px, 4.4vw, 64px); font-weight: 950; letter-spacing: -0.05em; }
.teacher-entry-public-grid { gap: 0; overflow: hidden; border: 1px solid var(--edu-line); border-radius: 10px; }
.teacher-entry-public-card { border: 0; border-right: 1px solid var(--edu-line); border-radius: 0; box-shadow: none; }
.teacher-entry-public-card.featured { background: var(--edu-navy); }
.teacher-entry-school-banner { border-radius: 8px; background: var(--edu-navy); box-shadow: none; }
.teacher-entry-module-grid { gap: 0; overflow: hidden; border: 1px solid var(--edu-line); border-radius: 10px; }
.teacher-entry-module-grid article { border: 0; border-right: 1px solid var(--edu-line); border-bottom: 1px solid var(--edu-line); border-radius: 0; box-shadow: none; }

@media (max-width: 1100px) {
  .edu-page:not(.championships-page) .edu-hero {
    grid-template-columns: 1fr 1fr;
  }

  .edu-page:not(.championships-page) .edu-hero h1 {
    font-size: 58px;
  }
}

@media (max-width: 780px) {
  .edu-page:not(.championships-page) .site-header,
  .teacher-entry-header {
    padding: 12px 6vw;
  }

  .edu-page:not(.championships-page) .edu-hero {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 30px 6vw 66px;
  }

  .edu-page:not(.championships-page) .edu-hero h1 {
    font-size: clamp(48px, 13vw, 72px);
  }

  .edu-page:not(.championships-page) .edu-section-block,
  .edu-page:not(.championships-page) .teacher-center-promo,
  .edu-page:not(.championships-page) .edu-momentum,
  .edu-page:not(.championships-page) .edu-rental,
  .edu-page:not(.championships-page) .lesson-program,
  .edu-page:not(.championships-page) .edu-contact {
    padding: 58px 6vw;
  }

  .edu-page:not(.championships-page) :is(.edu-benefit-grid, .uses-grid),
  .edu-page:not(.championships-page) .variant-grid {
    grid-template-columns: 1fr;
  }

  .directory-page-main {
    width: min(100% - 12vw, 1400px);
  }

  .directory-intro,
  .rental-page .rental-hero {
    grid-template-columns: 1fr;
  }

  .directory-counters {
    grid-template-columns: 1fr;
  }

  .directory-counter {
    min-height: 96px;
    border-right: 0;
    border-bottom: 1px solid var(--edu-line);
  }

  .teacher-entry-layout { display: block; }
  .teacher-entry-sidebar { position: static; height: auto; }
  .teacher-entry-hero { grid-template-columns: 1fr; }
  .teacher-entry-hero h1 { font-size: clamp(44px, 11vw, 64px); }
}

@media (prefers-reduced-motion: reduce) {
  .edu-page:not(.championships-page) *,
  .teacher-entry-page * {
    scroll-behavior: auto;
    transition-duration: 0.01ms !important;
  }
}

/* Grouped, colour-coded navigation for the EduQwirkle home page. */
.edu-site-header {
  min-height: 104px;
  gap: clamp(18px, 2vw, 36px);
  padding-top: 10px;
  padding-bottom: 10px;
}

.edu-site-header .brand {
  flex: 0 0 150px;
}

.edu-site-header .edu-main-nav {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(330px, 0.92fr) minmax(560px, 1.42fr) minmax(330px, 0.86fr);
  gap: 9px;
  align-items: stretch;
  min-width: 0;
}

.edu-site-header .nav-group {
  display: grid;
  align-content: center;
  min-width: 0;
  padding: 7px 9px 9px;
  border: 1px solid rgba(24, 25, 27, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
}

.edu-site-header .nav-group-program { background: #f0f7fc; }
.edu-site-header .nav-group-school { background: #fff6e6; }
.edu-site-header .nav-group-account { background: #eff8f3; }

.edu-site-header .nav-group-label {
  display: block;
  margin: 0 4px 6px;
  color: #6b6d72;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
}

.edu-site-header .nav-group-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  min-width: 0;
}

.edu-site-header .edu-main-nav .nav-group a {
  --nav-bg: #315e78;
  --nav-bg-light: #487790;
  --nav-depth: #22475c;
  --nav-text: #fff;
  position: relative;
  justify-content: center;
  min-width: 0;
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--nav-bg-light), var(--nav-bg));
  box-shadow: 0 4px 0 var(--nav-depth), 0 8px 14px color-mix(in srgb, var(--nav-depth) 24%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  color: var(--nav-text);
  font-size: clamp(10px, 0.64vw, 12px);
  font-weight: 950;
  line-height: 1.05;
  text-align: center;
  white-space: nowrap;
  transform: translateY(0);
  transition: transform 140ms ease, box-shadow 140ms ease, filter 140ms ease;
}

.edu-site-header .edu-main-nav .nav-group a:hover,
.edu-site-header .edu-main-nav .nav-group a:focus-visible {
  background: linear-gradient(180deg, var(--nav-bg-light), var(--nav-bg));
  color: var(--nav-text);
  filter: saturate(1.08) brightness(1.04);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--nav-depth), 0 11px 18px color-mix(in srgb, var(--nav-depth) 29%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.edu-site-header .edu-main-nav .nav-group a:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--nav-depth), 0 3px 7px color-mix(in srgb, var(--nav-depth) 20%, transparent);
}

.edu-site-header .nav-about {
  --nav-bg: #1778a8 !important;
  --nav-bg-light: #2496ca !important;
  --nav-depth: #0c5a82 !important;
}

.edu-site-header .nav-variants {
  --nav-bg: #087f50 !important;
  --nav-bg-light: #16a66c !important;
  --nav-depth: #075f3d !important;
}

.edu-site-header .nav-start,
.edu-site-header .directory-nav {
  --nav-bg: #e8780b !important;
  --nav-bg-light: #f79722 !important;
  --nav-depth: #b65300 !important;
}

.edu-site-header .nav-materials,
.edu-site-header .lesson-nav {
  --nav-bg: #6b4cad !important;
  --nav-bg-light: #8663c8 !important;
  --nav-depth: #4d3188 !important;
}

.edu-site-header .simulator-nav {
  --nav-bg: #24272b !important;
  --nav-bg-light: #41464c !important;
  --nav-depth: #0d0f11 !important;
}

.edu-site-header .rental-nav {
  --nav-bg: #d62632 !important;
  --nav-bg-light: #ef3c48 !important;
  --nav-depth: #a51620 !important;
}

.edu-site-header .championship-nav {
  --nav-bg: #ae263c !important;
  --nav-bg-light: #d83c55 !important;
  --nav-depth: #79182a !important;
}

.edu-site-header .contact-nav {
  --nav-bg: #087fc0 !important;
  --nav-bg-light: #1a9bda !important;
  --nav-depth: #075b8b !important;
}

.edu-site-header .teacher-account-nav {
  --nav-bg: #08794e !important;
  --nav-bg-light: #139b66 !important;
  --nav-depth: #055b3a !important;
}

.edu-site-header .nav-home {
  --nav-bg: #f2c800 !important;
  --nav-bg-light: #ffdc22 !important;
  --nav-depth: #b99600 !important;
  --nav-text: #18191b !important;
}

@media (max-width: 1750px) {
  .edu-site-header {
    padding-inline: 22px;
  }

  .edu-site-header .brand {
    flex-basis: 128px;
  }

  .edu-site-header .brand img {
    width: 128px;
  }

  .edu-site-header .edu-main-nav {
    grid-template-columns: minmax(300px, 0.92fr) minmax(500px, 1.42fr) minmax(300px, 0.86fr);
  }

  .edu-site-header .edu-main-nav .nav-group a {
    padding-inline: 9px;
    font-size: 10px;
  }
}

@media (max-width: 1420px) {
  .js .edu-site-header {
    flex-wrap: wrap;
    min-height: 82px;
  }

  .js .edu-site-header .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .js .edu-site-header .edu-main-nav {
    display: none;
    flex: 0 0 100%;
    order: 3;
    width: 100%;
    max-width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    padding-top: 4px;
  }

  .js .edu-site-header .edu-main-nav.is-open {
    display: grid;
  }

  .js .edu-site-header .nav-group-school {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .edu-site-header .nav-group-links {
    flex-wrap: wrap;
  }

  .edu-site-header .edu-main-nav .nav-group a {
    flex: 1 1 auto;
    font-size: 12px;
  }
}

@media (max-width: 780px) {
  .js .edu-site-header {
    padding-inline: 18px;
  }

  .js .edu-site-header .edu-main-nav {
    grid-template-columns: 1fr;
  }

  .js .edu-site-header .nav-group-school {
    grid-column: auto;
    grid-row: auto;
  }

  .edu-site-header .nav-group-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .edu-site-header .edu-main-nav .nav-group a {
    min-height: 46px;
    border-color: rgba(0, 0, 0, 0.08) !important;
    background: linear-gradient(180deg, var(--nav-bg-light), var(--nav-bg)) !important;
    color: var(--nav-text) !important;
    white-space: normal;
  }
}

@media (max-width: 430px) {
  .edu-site-header .nav-group-links {
    grid-template-columns: 1fr;
  }
}
