/* Shared Sinamatic typography, navigation and cursor come from home/projects.css. */
.edukart-page {
  --edukart-green: var(--color-company-primary);
  --edukart-inset: clamp(1.5rem, 7vw, 8rem);
  --edukart-space: clamp(7rem, 13vw, 13rem);
  padding: 0;
  color: #f6f7f8;
  background: #000;
}

.edukart-keyvisual {
  margin: 0;
}

.edukart-keyvisual img {
  display: block;
  width: 100%;
  height: auto;
}

.edukart-section {
  margin: var(--edukart-space) var(--edukart-inset);
  scroll-margin-top: 3rem;
}

/* Preserve the approved opening block. */
.edukart-overview {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  margin: clamp(3rem, 7vw, 6rem) clamp(1.25rem, 5vw, 5rem);
}

.edukart-page h1 {
  margin: 0;
  font-size: clamp(4.5rem, 8vw, 9.5rem);
  line-height: 0.9;
  text-shadow: -6px 6px var(--edukart-green);
}

.edukart-page h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 1.05;
}

.edukart-page h3 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  line-height: 1.4;
}

.edukart-page p {
  max-width: none;
  padding: 0;
  margin: 0 0 1.5rem;
  color: #d5dade;
  line-height: 1.6;
}

.edukart-page .edukart-kicker {
  margin: 0 0 0.8rem;
  color: var(--edukart-green);
  font-family: OpenSansBold, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.edukart-page .edukart-lead {
  margin: 1.5rem 0 0;
}

.edukart-overview p:not(.edukart-kicker) {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.35vw, 1.42rem);
}

/* The h1 shadow must not duplicate the shared homepage cursor. */
.edukart-page .cursor-container {
  text-shadow: none;
}

.edukart-page p a,
.edukart-page td a,
.edukart-page th a {
  font: inherit;
}

.edukart-section a {
  color: var(--edukart-green);
  text-underline-offset: 0.18em;
}

.edukart-section a:hover {
  color: #fff;
}

.edukart-section a:focus-visible,
.edukart-image-button:focus-visible,
.edukart-lightbox-close:focus-visible,
.edukart-table-scroll:focus-visible {
  outline: 2px solid var(--edukart-green);
  outline-offset: 4px;
}

.edukart-section .edukart-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1rem;
  border-radius: 5px;
  color: #fff;
  background: var(--edukart-green);
  font: inherit;
  line-height: 1.4;
  text-decoration: none;
  transition: background 160ms ease;
}

.edukart-section .edukart-button:hover {
  background: #222;
}

.edukart-section .edukart-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font: inherit;
}

.edukart-quickstart > h2 {
  margin-bottom: 2rem;
  font-size: clamp(2.8rem, 6vw, 6rem);
  text-align: center;
}

.edukart-page .edukart-quickstart-intro,
.edukart-page .edukart-quickstart-privacy {
  text-align: center;
}

.edukart-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: clamp(3rem, 5vw, 5rem) 0 3rem;
  padding: 0;
  gap: clamp(2rem, 4vw, 4.5rem);
}

.edukart-steps li {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  text-align: center;
}

.edukart-step-top {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.edukart-step-number {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border: 1.5px solid var(--edukart-green);
  border-radius: 50%;
  color: var(--edukart-green);
  font-family: OpenSansBold, sans-serif;
  font-size: 1.15rem;
}

.edukart-step-top img {
  display: block;
  flex-shrink: 0;
  width: clamp(3.5rem, 4vw, 5rem);
  height: auto;
}

.edukart-steps h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.8em;
}

.edukart-soon,
.edukart-pending {
  color: #aaa;
  font: inherit;
}

.edukart-page .edukart-note {
  color: #aaa;
}

.edukart-event,
.edukart-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.edukart-event {
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 4vw, 4rem);
  width: min(1240px, calc(100% - var(--edukart-inset) - var(--edukart-inset)));
  margin-inline: auto;
}

.edukart-event h2 {
  font-size: clamp(2.3rem, 4vw, 4rem);
}

.edukart-event-image {
  margin: 0;
}

.edukart-event-image img {
  display: block;
  width: 100%;
  height: auto;
}

.edukart-event-location strong {
  color: #fff;
}

.edukart-page .edukart-section-title {
  margin-bottom: clamp(4rem, 8vw, 8rem);
  font-size: clamp(3.5rem, 8vw, 7rem);
  text-align: center;
}

.edukart-page .edukart-feature-title {
  margin-bottom: 2rem;
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  line-height: 1.2;
}

.edukart-figure {
  min-width: 0;
  margin: 0;
}

.edukart-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.edukart-figure figcaption {
  margin-top: 1.5rem;
  color: #aaa;
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: center;
}

.edukart-phone-gallery {
  display: grid;
  gap: clamp(0.35rem, 0.9vw, 0.8rem);
  justify-items: center;
  align-items: start;
}

.edukart-phone-gallery--pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 560px);
  margin-inline: auto;
  justify-self: center;
}

.edukart-phone-gallery--single {
  grid-template-columns: 1fr;
  width: min(100%, 165px);
  margin-inline: auto;
}

.edukart-courses {
  width: min(1120px, calc(100% - var(--edukart-inset) - var(--edukart-inset)));
  margin-inline: auto;
}

.edukart-phone-gallery--courses {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(100%, 980px);
  margin: clamp(3rem, 5vw, 5rem) auto 0;
  row-gap: 3rem;
}

.edukart-courses .edukart-phone {
  max-width: 230px;
}

.edukart-phone {
  width: 100%;
  max-width: 300px;
}

.edukart-phone img {
  max-height: 560px;
}

/* One-pixel gaps form internal dividers; black cells cover the outer edges. */
.edukart-item-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 4rem;
  background: var(--edukart-green);
}

.edukart-item-card {
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 3rem);
  background: #000;
}

.edukart-item-card--empty {
  padding: 0;
}

.edukart-item-card h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.edukart-item-card p {
  min-height: 4.8em;
}

.edukart-item-card .edukart-phone-gallery {
  max-width: 340px;
  margin: 2rem auto 0;
}

.edukart-item-card .edukart-phone {
  max-width: 165px;
}

.edukart-item-card .edukart-phone img {
  max-height: 320px;
}

.edukart-image-button {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: zoom-in;
}

.edukart-lightbox {
  width: min(96vw, 1100px);
  max-width: 96vw;
  max-height: 96dvh;
  margin: auto;
  padding: 3.5rem clamp(1rem, 3vw, 3rem) 1.5rem;
  border: 0;
  border-radius: 8px;
  background: #080808;
  color: #fff;
  overflow: auto;
}

.edukart-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.88);
}

.edukart-lightbox figure {
  margin: 0;
}

.edukart-lightbox img {
  display: block;
  width: 100%;
  height: min(76dvh, 1400px);
  object-fit: contain;
}

.edukart-lightbox figcaption {
  max-width: 70ch;
  margin: 1.25rem auto 0;
  color: #d5dade;
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: center;
}

.edukart-lightbox-close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--edukart-green);
  font: inherit;
  font-size: 2rem;
  cursor: pointer;
}

.edukart-table-scroll {
  overflow-x: auto;
  margin-top: 3rem;
}

.edukart-table {
  width: 100%;
  min-width: 730px;
  border-collapse: collapse;
  text-align: left;
  line-height: 1.6;
}

.edukart-table th,
.edukart-table td {
  padding: 1.25rem 1.5rem;
  vertical-align: top;
}

.edukart-table th:first-child,
.edukart-table td:first-child {
  padding-left: 0;
}

.edukart-table th:last-child,
.edukart-table td:last-child {
  padding-right: 0;
}

.edukart-table tbody th {
  width: 44%;
  font-weight: 400;
}

.edukart-table td {
  color: #d5dade;
  white-space: nowrap;
}

.edukart-table a {
  display: inline-block;
  padding-block: 0.25rem;
}

.edukart-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.edukart-privacy {
  --edukart-inset: clamp(1.5rem, 10vw, 12rem);
}

.edukart-privacy > .edukart-content {
  margin-top: clamp(1.5rem, 3vw, 3rem);
  margin-bottom: clamp(4rem, 8vw, 8rem);
}

.edukart-privacy > .edukart-content > h1 {
  margin-bottom: 2rem;
}

.edukart-privacy .edukart-content > section {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr);
  column-gap: clamp(2rem, 4vw, 4rem);
  margin-top: 0;
  padding-block: 2.5rem;
  border-top: 1px solid var(--edukart-green);
}

.edukart-privacy .edukart-content > section:first-of-type {
  margin-top: 3rem;
}

.edukart-privacy .edukart-content > section > h2 {
  grid-column: 1;
  font-family: OpenSansBold, sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.4;
}

.edukart-privacy-copy {
  grid-column: 2;
  overflow-wrap: anywhere;
}

.edukart-privacy-copy p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .edukart-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 5rem;
  }

  .edukart-overview,
  .edukart-feature,
  .edukart-event,
  .edukart-privacy .edukart-content > section {
    grid-template-columns: 1fr;
  }

  .edukart-event-image {
    max-width: 480px;
    justify-self: center;
  }

  .edukart-privacy-copy {
    grid-column: 1;
  }

  .edukart-page h1 {
    font-size: clamp(3.4rem, 15vw, 6.2rem);
  }

  .edukart-overview p:not(.edukart-kicker) {
    font-size: 1rem;
  }

  .edukart-phone-gallery--courses {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 500px;
  }

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

  .edukart-item-card--empty {
    display: none;
  }
}

@media (max-width: 600px) {
  .edukart-steps,
  .edukart-item-grid {
    grid-template-columns: 1fr;
  }

  .edukart-steps h3 {
    min-height: 0;
  }

  .edukart-steps {
    gap: 5rem;
  }

  .edukart-item-card p {
    min-height: 0;
  }
}
