#nomkamo-education {
  --ne-bg: #ffffff;
  --ne-text: #050505;
  --ne-muted: #777777;
  --ne-line: #050505;
  --ne-soft-line: rgba(5, 5, 5, 0.14);
  --ne-blue: #d9efff;
  --ne-soft-blue: #eef8ff;
  --ne-yellow: #fff2bf;
  --ne-green: #dff7e7;
  --ne-pink: #ffe8f0;

  width: 100%;
  min-height: 100vh;
  background: var(--ne-bg);
  color: var(--ne-text);
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}

#nomkamo-education *,
#nomkamo-education *::before,
#nomkamo-education *::after {
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

#nomkamo-education a {
  color: inherit;
}

.ne-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 18px 14px 70px;
}

.ne-hero {
  min-height: 64vh;
  border: 1px solid var(--ne-soft-line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 460px);
  gap: 14px;
  padding: clamp(18px, 4vw, 42px);
  background: #ffffff;
}

.ne-hero-main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 420px;
}

.ne-label {
  display: inline-flex;
  width: fit-content;
  border: 1px solid var(--ne-soft-line);
  border-radius: 999px;
  padding: 7px 10px;
  background: #ffffff;
  color: var(--ne-muted);
  font-size: 11px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ne-title {
  margin: 24px 0 0;
  max-width: 960px;
  font-size: clamp(56px, 12vw, 170px);
  line-height: 0.78;
  letter-spacing: -0.1em;
  font-weight: 700;
}

.ne-subtitle {
  margin: 22px 0 0;
  max-width: 660px;
  color: var(--ne-muted);
  font-size: clamp(16px, 1.7vw, 22px);
  line-height: 1.28;
}

.ne-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ne-btn {
  border: 1px solid var(--ne-soft-line);
  background: #ffffff;
  color: var(--ne-text) !important;
  min-height: 34px;
  padding: 9px 11px;
  font-size: 12px;
  line-height: 1;
  text-decoration: none !important;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  white-space: nowrap;
}

.ne-btn:hover {
  background: var(--ne-soft-blue);
}

.ne-btn-primary {
  background: var(--ne-text);
  color: #ffffff !important;
  border-color: var(--ne-text);
}

.ne-btn-primary:hover {
  background: #333333;
}

.ne-btn-yellow {
  background: var(--ne-yellow);
}

.ne-hero-side {
  display: grid;
  gap: 10px;
  align-content: end;
}

.ne-mini-card {
  border: 1px solid var(--ne-soft-line);
  background: #ffffff;
  padding: 14px;
  display: grid;
  gap: 10px;
}

.ne-mini-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
}

.ne-mini-kicker {
  color: var(--ne-muted);
  font-size: 10px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ne-mini-number {
  font-size: 38px;
  line-height: 0.85;
  letter-spacing: -0.07em;
  font-weight: 700;
}

.ne-mini-title {
  font-size: 22px;
  line-height: 1.02;
  letter-spacing: -0.05em;
  font-weight: 700;
}

.ne-mini-text {
  color: var(--ne-muted);
  font-size: 13px;
  line-height: 1.35;
}

.ne-nav {
  position: sticky;
  top: 0;
  z-index: 5;
  margin-top: 10px;
  border: 1px solid var(--ne-soft-line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  padding: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ne-nav a {
  border: 1px solid var(--ne-soft-line);
  border-radius: 999px;
  padding: 8px 10px;
  color: var(--ne-text) !important;
  text-decoration: none !important;
  font-size: 12px;
  line-height: 1;
  background: #ffffff;
}

.ne-nav a:hover {
  background: var(--ne-soft-blue);
}

.ne-section {
  margin-top: 12px;
  border: 1px solid var(--ne-soft-line);
  background: #ffffff;
}

.ne-section-head {
  padding: 16px;
  border-bottom: 1px solid var(--ne-soft-line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
}

.ne-section-title {
  margin: 0;
  font-size: clamp(34px, 5.5vw, 80px);
  line-height: 0.86;
  letter-spacing: -0.09em;
  font-weight: 700;
}

.ne-section-note {
  margin-top: 9px;
  max-width: 680px;
  color: var(--ne-muted);
  font-size: 14px;
  line-height: 1.35;
}

.ne-section-body {
  padding: 14px;
}

.ne-path {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--ne-soft-line);
  border-right: 0;
  border-bottom: 0;
}

.ne-path-item {
  min-height: 150px;
  border-right: 1px solid var(--ne-soft-line);
  border-bottom: 1px solid var(--ne-soft-line);
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ne-path-num {
  color: var(--ne-muted);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.08em;
}

.ne-path-title {
  max-width: 220px;
  font-size: 22px;
  line-height: 0.98;
  letter-spacing: -0.06em;
  font-weight: 700;
}

.ne-path-tag {
  width: fit-content;
  border: 1px solid var(--ne-soft-line);
  border-radius: 999px;
  padding: 6px 8px;
  font-size: 11px;
  line-height: 1;
  background: var(--ne-soft-blue);
}

.ne-product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px 280px;
  gap: 10px;
}

.ne-product-main,
.ne-product-small {
  border: 1px solid var(--ne-soft-line);
  padding: 14px;
  background: #ffffff;
  display: grid;
  gap: 12px;
  align-content: start;
}

.ne-product-main {
  min-height: 300px;
  background:
    radial-gradient(circle at 85% 15%, var(--ne-blue) 0, var(--ne-blue) 85px, transparent 86px),
    #ffffff;
}

.ne-product-title {
  font-size: clamp(34px, 5vw, 72px);
  line-height: 0.86;
  letter-spacing: -0.09em;
  font-weight: 700;
}

.ne-product-text {
  max-width: 620px;
  color: var(--ne-muted);
  font-size: 14px;
  line-height: 1.38;
}

.ne-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.ne-chip {
  display: inline-flex;
  width: fit-content;
  border: 1px solid var(--ne-soft-line);
  border-radius: 999px;
  padding: 7px 9px;
  background: #ffffff;
  font-size: 12px;
  line-height: 1;
}

.ne-chip-blue {
  background: var(--ne-blue);
}

.ne-chip-green {
  background: var(--ne-green);
}

.ne-chip-yellow {
  background: var(--ne-yellow);
}

.ne-chip-pink {
  background: var(--ne-pink);
}

.ne-small-title {
  font-size: 24px;
  line-height: 0.98;
  letter-spacing: -0.06em;
  font-weight: 700;
}

.ne-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  margin-bottom: 12px;
}

.ne-input {
  width: 100%;
  border: 1px solid var(--ne-soft-line);
  background: #ffffff;
  color: var(--ne-text);
  min-height: 40px;
  padding: 11px 12px;
  font-size: 14px;
  outline: none;
}

.ne-input:focus {
  background: var(--ne-soft-blue);
}

.ne-lessons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--ne-soft-line);
  border-right: 0;
  border-bottom: 0;
}

.ne-lesson {
  min-height: 250px;
  border-right: 1px solid var(--ne-soft-line);
  border-bottom: 1px solid var(--ne-soft-line);
  padding: 12px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ne-lesson:hover {
  background: var(--ne-soft-blue);
}

.ne-lesson-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.ne-pill {
  display: inline-flex;
  width: fit-content;
  border: 1px solid var(--ne-soft-line);
  border-radius: 999px;
  padding: 5px 7px;
  background: #ffffff;
  color: var(--ne-text);
  font-size: 10px;
  line-height: 1;
}

.ne-pill-blue {
  background: var(--ne-blue);
}

.ne-pill-green {
  background: var(--ne-green);
}

.ne-pill-yellow {
  background: var(--ne-yellow);
}

.ne-lesson-title {
  font-size: 22px;
  line-height: 0.98;
  letter-spacing: -0.06em;
  font-weight: 700;
}

.ne-lesson-sub {
  color: var(--ne-muted);
  font-size: 13px;
  line-height: 1.32;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ne-lesson-foot {
  margin-top: auto;
  display: grid;
  gap: 7px;
}

.ne-module-name {
  color: var(--ne-muted);
  font-size: 10px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ne-events {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ne-event {
  border: 1px solid var(--ne-soft-line);
  padding: 12px;
  min-height: 180px;
  display: grid;
  gap: 9px;
  align-content: start;
}

.ne-event-title {
  font-size: 21px;
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 700;
}

.ne-event-meta {
  color: var(--ne-muted);
  font-size: 12px;
  line-height: 1.35;
}

.ne-inside {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--ne-soft-line);
  border-right: 0;
  border-bottom: 0;
}

.ne-inside-item {
  min-height: 115px;
  border-right: 1px solid var(--ne-soft-line);
  border-bottom: 1px solid var(--ne-soft-line);
  padding: 12px;
  display: flex;
  align-items: end;
  font-size: 17px;
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.ne-faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.ne-faq-item {
  border: 1px solid var(--ne-soft-line);
  padding: 12px;
}

.ne-faq-q {
  font-size: 16px;
  line-height: 1.1;
  font-weight: 700;
}

.ne-faq-a {
  margin-top: 7px;
  color: var(--ne-muted);
  font-size: 13px;
  line-height: 1.35;
}

.ne-empty {
  border: 1px solid var(--ne-soft-line);
  padding: 16px;
  color: var(--ne-muted);
  font-size: 14px;
  line-height: 1.35;
}

.ne-loader {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 1px solid var(--ne-line);
  border-top-color: transparent;
  border-radius: 50%;
  animation: ne-spin 0.8s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}

@keyframes ne-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 1180px) {
  .ne-hero,
  .ne-product-grid {
    grid-template-columns: 1fr;
  }

  .ne-lessons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ne-events {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ne-inside {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .ne-path,
  .ne-lessons,
  .ne-events,
  .ne-inside,
  .ne-faq {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ne-hero-main {
    min-height: 360px;
  }

  .ne-section-head {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .ne-wrap {
    padding: 10px 8px 56px;
  }

  .ne-hero {
    min-height: auto;
    padding: 16px;
  }

  .ne-hero-main {
    min-height: 320px;
  }

  .ne-title {
    font-size: 60px;
  }

  .ne-path,
  .ne-lessons,
  .ne-events,
  .ne-inside,
  .ne-faq,
  .ne-toolbar {
    grid-template-columns: 1fr;
  }

  .ne-btn {
    width: 100%;
  }

  .ne-product-main {
    min-height: 240px;
  }
}


/* v3 corrections */
.ne-section-head {
  grid-template-columns: minmax(0, 0.62fr) minmax(260px, 0.38fr);
  align-items: end;
}

.ne-section-head .ne-section-note {
  margin-top: 0;
  max-width: 420px;
  justify-self: end;
  text-align: left;
}

.ne-video-card {
  border: 1px solid var(--ne-soft-line);
  background: #ffffff;
  padding: 10px;
  display: grid;
  gap: 9px;
}

.ne-video-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--ne-soft-line);
  background:
    radial-gradient(circle at 50% 50%, var(--ne-blue) 0, var(--ne-blue) 54px, transparent 55px),
    #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ne-video-play {
  width: 54px;
  height: 54px;
  border: 1px solid var(--ne-soft-line);
  border-radius: 999px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
}

.ne-video-title {
  font-size: 18px;
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.ne-video-note {
  color: var(--ne-muted);
  font-size: 12px;
  line-height: 1.35;
}

.ne-inside-item {
  position: relative;
  align-items: start;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  transition: background 0.15s ease;
}

.ne-inside-item:hover {
  background: var(--ne-soft-blue);
}

.ne-inside-title {
  font-size: 17px;
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.ne-inside-info {
  display: none;
  color: var(--ne-muted);
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: 0;
  font-weight: 400;
}

.ne-inside-item:hover .ne-inside-info {
  display: block;
}

.ne-final {
  border: 1px solid var(--ne-soft-line);
  padding: 16px;
  background: #ffffff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
}

.ne-final .ne-product-title {
  max-width: 760px;
}

.ne-final .ne-product-text {
  max-width: 760px;
}

@media (max-width: 820px) {
  .ne-section-head,
  .ne-final {
    grid-template-columns: 1fr;
  }

  .ne-section-head .ne-section-note {
    justify-self: start;
    max-width: none;
  }
}
