:root {
  --kg-blue: #7d94f7;
  --kg-blue-deep: #6f8ef6;
  --kg-card-bar: #4d59f6;
  --kg-card-bar-top: #5f63ff;
  --kg-ink: #1f2433;
  --kg-muted: #5f6475;
  --kg-red: #e31b23;
  --kg-font: "Nunito", "Segoe UI", sans-serif;
  --kg-shadow: none;
  --kg-shadow-hover: none;
  --kg-radius: 22px;
  --kg-wrap: 1400px;
  --kg-gutter: 28px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  display: block;
  width: 100%;
}

body.korbogo {
  display: block;
  width: 100%;
  max-width: none;
  min-width: 100%;
  margin: 0;
  font-family: var(--kg-font);
  color: var(--kg-ink);
  min-height: 100vh;
  background:
    radial-gradient(1200px 520px at 8% -12%, rgba(255, 255, 255, 0.34), transparent 56%),
    radial-gradient(900px 480px at 100% 0%, rgba(77, 89, 246, 0.38), transparent 52%),
    linear-gradient(180deg, #8aa3fb 0%, #7d94f7 42%, #6f86f3 100%);
}

body.korbogo.kg-nav-open,
body.korbogo.kg-sheet-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.85);
  outline-offset: 3px;
}

.kg-header :focus-visible,
.kg-account-menu__panel :focus-visible {
  outline-color: var(--kg-card-bar);
}

.kg-header,
.kg-main,
.kg-footer {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

.kg-header {
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(77, 89, 246, 0.08);
  position: sticky;
  top: 0;
  z-index: 40;
}

.kg-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.kg-header__inner {
  position: relative;
  z-index: 1;
}

.kg-header__inner,
.edu-program-container,
.kg-page--wide,
.kg-footer__inner {
  width: 100%;
  max-width: var(--kg-wrap);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--kg-gutter);
  padding-right: var(--kg-gutter);
  box-sizing: border-box;
}

.kg-header__inner {
  padding-top: 12px;
  padding-bottom: 12px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px 24px;
}

.kg-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  line-height: 0;
}

.kg-header .kg-logo img,
.kg-header .kg-logo__img,
.kg-header .custom-logo,
.kg-header .custom-logo-link img {
  display: block;
  height: 60px !important;
  max-height: 60px !important;
  width: auto !important;
  max-width: 270px !important;
}

.kg-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px;
  border-radius: 12px;
}

.kg-nav-toggle:hover {
  background: #eef1ff;
}

.kg-nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: #2b2b2b;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.kg-dock {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
}

.kg-dock__slot {
  display: flex;
  align-items: center;
}

.kg-dock__slot--menu {
  display: none;
}

.kg-dock__label {
  display: none;
}

.kg-nav-backdrop {
  display: none;
}

.kg-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-self: end;
}

.kg-nav__list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.kg-nav__list > li {
  margin: 0;
  padding: 0;
}

.kg-nav__list > li > a {
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  color: #2b2b2b;
  padding: 8px 0;
  border-radius: 0;
  transition: color 0.2s ease;
}

.kg-nav__list > li > a:hover {
  background: transparent;
  color: var(--kg-card-bar);
}

.kg-nav__list .current-menu-item > a,
.kg-nav__list .is-current > a {
  color: var(--kg-card-bar);
  background: transparent;
}

.kg-nav__list > .menu-item-has-children {
  position: relative;
}

.kg-nav__list .sub-menu,
.kg-nav__list .kg-nav__sub {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(77, 89, 246, 0.1);
  border-radius: 16px;
  box-shadow: none;
}

.kg-nav__list > .menu-item-has-children:hover > .sub-menu,
.kg-nav__list > .menu-item-has-children:focus-within > .sub-menu,
.kg-nav__list > .menu-item-has-children:hover > .kg-nav__sub,
.kg-nav__list > .menu-item-has-children:focus-within > .kg-nav__sub {
  display: block;
}

.kg-nav__list .sub-menu a,
.kg-nav__list .kg-nav__sub a {
  display: block;
  padding: 8px 16px;
  font-size: 15px;
}

.kg-nav__list .kg-nav-account > a {
  color: var(--kg-card-bar);
  font-size: 14px;
}

.kg-nav__list .kg-nav-muted > a {
  color: #5f6475;
  font-size: 14px;
}

.kg-nav__list .kg-nav-cta > a {
  background: var(--kg-card-bar);
  color: #fff !important;
  padding: 8px 14px;
  border-radius: 10px;
}

.kg-account-menu {
  position: relative;
}

.kg-account-menu__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(125, 148, 247, 0.22);
  border-radius: 50%;
  background: rgba(125, 148, 247, 0.14);
  color: #2b2b2b;
  cursor: pointer;
  box-shadow: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.kg-account-menu__btn:hover,
.kg-account-menu.is-open .kg-account-menu__btn {
  color: var(--kg-card-bar);
  background: rgba(125, 148, 247, 0.24);
  border-color: rgba(125, 148, 247, 0.35);
  box-shadow: none;
}

.kg-account-menu__icon {
  width: 22px;
  height: 24px;
  display: block;
}

.kg-account-menu__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 228px;
  padding: 8px 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 16px;
  box-shadow: none;
  z-index: 50;
}

.kg-account-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.kg-account-menu__list a {
  display: block;
  padding: 11px 16px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  color: #2b2b2b;
  white-space: nowrap;
}

.kg-account-menu__list a:hover,
.kg-account-menu__list .current-menu-item > a,
.kg-account-menu__list .is-current > a {
  color: var(--kg-card-bar);
  background: #f5f7ff;
}

.kg-account-menu__list .kg-nav-cta > a {
  margin: 6px 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--kg-card-bar);
  color: #fff !important;
  text-align: center;
}

.kg-account-menu__list .kg-nav-muted > a {
  color: #5f6475;
}

.kg-account {
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  color: var(--kg-card-bar);
}

.kg-account--cta {
  background: var(--kg-card-bar);
  color: #fff !important;
  padding: 8px 14px;
  border-radius: 10px;
}

.edu-add-code-text--sub {
  margin-top: 0;
  font-size: 15px;
}

.edu-add-code-text--sub a {
  color: #fff;
  font-weight: 800;
  text-decoration: none !important;
}

.edu-add-code-text--sub a:hover {
  color: #fff;
  text-decoration: none !important;
}

.kg-lang {
  position: relative;
  display: flex;
  align-items: center;
}

.kg-lang__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 42px;
  padding: 0 14px 0 12px;
  border: 1px solid rgba(125, 148, 247, 0.22);
  border-radius: 999px;
  background: rgba(125, 148, 247, 0.14);
  color: #2b2b2b;
  cursor: pointer;
  box-shadow: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.kg-lang__btn:hover,
.kg-lang.is-open .kg-lang__btn {
  color: var(--kg-card-bar);
  background: rgba(125, 148, 247, 0.24);
  border-color: rgba(125, 148, 247, 0.35);
}

.kg-lang__icon {
  width: 26px;
  height: 26px;
  display: block;
  flex-shrink: 0;
}

.kg-lang__code {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
}

.kg-lang__panel {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 168px;
  padding: 8px 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 16px;
  box-shadow: none;
  z-index: 50;
}

.kg-lang.is-open .kg-lang__panel,
.kg-lang__panel.is-open {
  display: block;
}

.kg-lang__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.kg-lang__list a {
  display: block;
  padding: 11px 16px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  color: #2b2b2b;
}

.kg-lang__list a:hover,
.kg-lang__list .is-current > a {
  color: var(--kg-card-bar);
  background: rgba(245, 247, 255, 0.72);
}

.kg-lang--static {
  display: flex;
  align-items: center;
  height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(125, 148, 247, 0.22);
  background: rgba(125, 148, 247, 0.14);
  font-size: 22px;
  line-height: 1;
}

.kg-main--home {
  min-height: calc(100vh - 140px);
}

.kg-footer {
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  padding: 28px 0 36px;
  text-align: center;
}

.kg-footer__brand {
  margin: 0 0 4px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.kg-footer__copy {
  margin: 0;
  font-size: 13px;
  opacity: 0.82;
}

.kg-main--page {
  background: transparent;
  padding: 40px 0 64px;
}

.kg-page {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding-left: var(--kg-gutter);
  padding-right: var(--kg-gutter);
  box-sizing: border-box;
}

.kg-page.kg-page--wide {
  max-width: var(--kg-wrap);
}

.kg-article {
  background: #fff;
  border-radius: 24px;
  padding: 36px 32px;
  border: 1px solid rgba(77, 89, 246, 0.08);
  box-shadow: none;
}

.kg-article__title {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  color: var(--kg-card-bar);
  letter-spacing: -0.02em;
}

.kg-main--page .remimat-pk .kg-article__title,
.kg-main--page .remimat > .kg-article__title {
  color: #fff;
  text-shadow: none;
}

.kg-article .kg-article__title {
  color: var(--kg-card-bar);
  text-shadow: none;
}

.kg-article__content {
  font-size: 17px;
  line-height: 1.65;
}

.kg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--kg-card-bar);
  font-weight: 800;
  text-decoration: none;
  border-radius: 999px;
  padding: 11px 20px;
  border: 1px solid rgba(77, 89, 246, 0.12);
  box-shadow: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.kg-btn:hover,
.kg-btn:focus-visible {
  transform: none;
  background: #f5f7ff;
  color: var(--kg-card-bar);
  box-shadow: none;
}

.kg-main--page .kg-btn--ghost {
  color: #fff;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow: none;
}

.kg-main--page .kg-btn--ghost:hover,
.kg-main--page .kg-btn--ghost:focus-visible {
  background: #fff;
  color: var(--kg-card-bar);
  border-color: #fff;
}

/* —— Strona startowa pakietów —— */

.edu-program-section {
  width: 100%;
  background: transparent;
  padding: 36px 0 64px;
}

.edu-hero {
  text-align: center;
  margin: 0 auto 36px;
  max-width: none;
}

.edu-program-title {
  text-align: center;
  color: #fff;
  font-size: clamp(16px, 2.55vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 22px;
  text-transform: uppercase;
  text-shadow: none;
  white-space: nowrap;
}

.edu-add-code-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  margin: 0 auto;
  padding: 22px 24px;
  max-width: 560px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 24px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: none;
}

.edu-add-code-text {
  color: #fff;
  font-size: 17px;
  margin: 0;
  font-weight: 600;
}

.edu-add-code-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--kg-card-bar);
  border: none;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 800;
  font-family: inherit;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid rgba(77, 89, 246, 0.12);
  box-shadow: none;
  transition: background 0.2s ease;
}

.edu-add-code-btn:hover,
.edu-add-code-btn:focus-visible {
  transform: none;
  background: #f5f7ff;
  color: var(--kg-card-bar);
  box-shadow: none;
}

.edu-add-code-form {
  display: none;
  margin-top: 0;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.edu-add-code-form.is-open {
  display: flex;
}

.edu-add-code-form input[type="text"] {
  padding: 0 18px;
  height: 48px;
  border-radius: 999px;
  border: none;
  width: min(280px, 70vw);
  font-family: inherit;
  font-size: 15px;
  box-shadow: none;
}

.edu-add-code-form button[type="submit"] {
  padding: 0 18px;
  height: 48px;
  border-radius: 999px;
  border: none;
  background: var(--kg-card-bar);
  color: #fff;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
}

.edu-add-code-form button[type="submit"]:hover,
.edu-add-code-form button[type="submit"]:focus-visible {
  background: #3f48d6;
  color: #fff;
}

.edu-add-code-msg {
  margin: 12px auto 0;
  max-width: 420px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
}

.edu-add-code-msg--error {
  background: #fff2f2;
  color: #c62828;
}

.edu-add-code-msg--ok {
  background: #eefaf0;
  color: #2e7d32;
}

.edu-program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.kg-pack,
.kg-pack * {
  text-decoration: none !important;
}

.kg-pack {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--kg-radius);
  overflow: hidden;
  border: 0;
  box-shadow: none;
  transition: transform 0.2s ease;
  color: inherit;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.kg-pack:hover {
  transform: translateY(-4px);
  box-shadow: none;
}

.kg-pack__image {
  position: relative;
  aspect-ratio: 1;
  background: #eef1ff;
  pointer-events: none;
}

.kg-pack__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.kg-pack__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(160deg, #8ea4ff, #5b67f5);
}

.kg-pack__free {
  position: absolute;
  left: 14px;
  bottom: 14px;
  color: #5b21b6;
  font-weight: 800;
  font-size: 15px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  z-index: 2;
}

.kg-pack__lock {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  z-index: 3;
  background: url("../img/lock-open.svg") center / contain no-repeat;
  pointer-events: none;
  filter: none;
}

.kg-pack--locked .kg-pack__lock {
  background-image: url("../img/lock-closed.svg");
}

.kg-pack--locked .kg-pack__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  pointer-events: none;
}

.kg-pack__bottom {
  display: grid;
  grid-template-columns: 1fr 46px;
  align-items: center;
  gap: 14px;
  padding: 16px 16px 16px 18px;
  min-height: 92px;
  background: linear-gradient(180deg, var(--kg-card-bar-top), var(--kg-card-bar));
  pointer-events: none;
}

.kg-pack__name {
  color: #fff;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
  min-height: calc(2 * 1.2em);
  display: flex;
  align-items: center;
  letter-spacing: -0.02em;
}

.kg-pack__arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

.kg-pack__arrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 3px solid var(--kg-card-bar);
  border-top: 3px solid var(--kg-card-bar);
  transform: rotate(45deg);
}

.edu-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #fff;
  font-size: 18px;
  padding: 24px;
}

@media (max-width: 1199px) {
  .edu-program-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  :root {
    --kg-gutter: 16px;
    --kg-dock-h: calc(64px + env(safe-area-inset-bottom, 0px));
  }

  body.korbogo {
    padding-top: 60px;
    padding-bottom: var(--kg-dock-h);
  }

  .kg-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    overflow: visible;
    filter: none;
    contain: none;
    background: rgba(255, 255, 255, 0.42);
    border-bottom: 1px solid rgba(255, 255, 255, 0.38);
    transition: transform 0.28s ease;
  }

  .kg-header.is-hidden {
    transform: translateY(-110%);
    pointer-events: none;
  }

  .kg-header__inner {
    padding-top: 10px;
    padding-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    grid-template-columns: none;
  }

  .kg-logo {
    justify-content: center;
  }

  .kg-header .kg-logo img,
  .kg-header .kg-logo__img,
  .kg-header .custom-logo,
  .kg-header .custom-logo-link img {
    height: 40px !important;
    max-height: 40px !important;
    max-width: 180px !important;
  }

  .kg-main--page {
    padding: 28px 0 48px;
  }

  .kg-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 80;
    border: 0;
    padding: 0;
    margin: 0;
    background: rgba(20, 24, 40, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }

  body.kg-nav-open .kg-nav-backdrop,
  body.kg-sheet-open .kg-nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .kg-nav-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 32px;
    padding: 4px 0;
    border-radius: 0;
  }

  .kg-nav-toggle:hover {
    background: transparent;
  }

  .kg-nav-toggle span {
    width: 22px;
    margin: 3px 0;
  }

  body.kg-nav-open .kg-nav-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  body.kg-nav-open .kg-nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.kg-nav-open .kg-nav-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .kg-nav {
    display: none;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: var(--kg-dock-h) !important;
    top: auto !important;
    z-index: 90;
    max-height: min(70vh, calc(100dvh - var(--kg-dock-h) - 72px));
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(28px) saturate(140%);
    -webkit-backdrop-filter: blur(28px) saturate(140%);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 12px;
    border-radius: 20px 20px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow: none;
    gap: 8px;
    justify-self: stretch;
  }

  .kg-nav.is-open {
    display: flex;
  }

  .kg-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .kg-nav__list > li > a {
    display: block;
    padding: 12px 4px;
  }

  .kg-nav__list > .menu-item-has-children {
    width: 100%;
  }

  .kg-nav__list .sub-menu,
  .kg-nav__list .kg-nav__sub {
    display: block;
    position: static;
    box-shadow: none;
    padding: 0 0 0 12px;
    min-width: 0;
    background: transparent;
    border: 0;
  }

  .kg-dock {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    width: 100%;
    z-index: 100;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: stretch;
    gap: 0;
    justify-self: stretch;
    min-height: var(--kg-dock-h);
    padding: 10px 8px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(28px) saturate(140%);
    -webkit-backdrop-filter: blur(28px) saturate(140%);
    border-top: 1px solid rgba(255, 255, 255, 0.78);
  }

  .kg-dock__slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-width: 0;
  }

  .kg-dock__slot--menu {
    display: flex;
  }

  .kg-dock__label {
    display: none !important;
  }

  .kg-account-menu__btn {
    width: 36px;
    height: 32px;
    border: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .kg-account-menu__btn:hover,
  .kg-account-menu.is-open .kg-account-menu__btn {
    background: transparent;
    border-color: transparent;
  }

  .kg-account-menu__panel,
  .kg-lang__panel {
    display: none;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: var(--kg-dock-h) !important;
    top: auto !important;
    width: 100%;
    min-width: 0;
    max-height: min(70vh, calc(100dvh - var(--kg-dock-h) - 72px));
    overflow-y: auto;
    margin: 0;
    padding: 16px 20px 12px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(28px) saturate(140%);
    -webkit-backdrop-filter: blur(28px) saturate(140%);
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 20px 20px 0 0;
    box-shadow: none;
    z-index: 90;
  }

  .kg-account-menu.is-open .kg-account-menu__panel,
  .kg-lang.is-open .kg-lang__panel,
  .kg-account-menu__panel.is-open,
  .kg-lang__panel.is-open {
    display: block;
  }

  .kg-account-menu__list a,
  .kg-lang__list a {
    padding: 12px 4px;
  }

  .kg-lang {
    height: auto;
    padding: 0;
    border: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .kg-lang__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: auto;
    min-width: 36px;
    height: 32px;
    padding: 0 2px;
    border: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    color: #2b2b2b;
    cursor: pointer;
  }

  .edu-program-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .edu-add-code-box {
    padding: 18px 16px;
  }
}

@media (max-width: 479px) {
  .edu-program-grid {
    grid-template-columns: 1fr;
  }

  .kg-pack__name {
    font-size: 18px;
  }

  .edu-program-title {
    white-space: normal;
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* WP login */
body.login {
  background: var(--kg-blue) !important;
  font-family: var(--kg-font);
}

body.login #login h1 a {
  background-image: url("../img/logo.svg");
  background-size: contain;
  width: 220px;
  height: 56px;
}

body.login form {
  border-radius: 20px;
  border: 0;
  box-shadow: none;
}
