.module-page .site-header {
  position: sticky;
  top: 0;
}

.module-page .site-header nav .current {
  color: #5b7d00;
  box-shadow: inset 0 -2px #89b800;
}

.module-hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: 6vw;
  padding: 78px 6vw 92px;
  overflow: hidden;
}

.module-kicker,
.module-section-heading span,
.module-info > span,
.module-cta div > span {
  font: 700 11px/1 "Space Grotesk", sans-serif;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.module-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
}

.module-kicker i {
  width: 10px;
  height: 10px;
  background: #b7e52d;
}

.module-hero h1 {
  margin: 28px 0;
  font: 700 clamp(62px, 7vw, 108px)/.85 "Space Grotesk", sans-serif;
  letter-spacing: -.075em;
}

.module-hero h1 em {
  color: #78a700;
  font-style: normal;
}

.module-hero-copy > p {
  max-width: 590px;
  color: #555850;
  font-size: 18px;
  line-height: 1.7;
}

.module-primary {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  margin-top: 24px;
  padding: 16px 22px;
  border-radius: 4px;
  background: #101114;
  color: #fff;
  font-weight: 700;
}

.module-primary:hover {
  background: #6d9600;
}

.module-hero-visual {
  min-height: 510px;
  position: relative;
}

.module-orbit {
  position: absolute;
  border: 1px solid #d4d5cc;
  border-radius: 50%;
}

.orbit-one {
  inset: 1% 3% 0 0;
}

.orbit-two {
  inset: 18% 18% 13% 15%;
}

.hero-software {
  position: absolute;
  width: 185px;
  height: 225px;
  margin: 0;
  padding: 18px;
  border-radius: 8px;
  box-shadow: 0 25px 55px #17181235;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
}

.hero-software span,
.hero-software b {
  font: 700 11px "Space Grotesk", sans-serif;
  letter-spacing: .14em;
}

.hero-software img {
  width: 112px;
  height: 112px;
  align-self: center;
  object-fit: contain;
}

.hero-makecode {
  left: 2%;
  top: 38%;
  background: #fa0794;
  transform: rotate(-7deg);
}

.hero-gdevelop {
  right: 4%;
  top: 3%;
  background: #392071;
  transform: rotate(7deg);
}

.hero-roblox {
  right: 21%;
  bottom: -7%;
  background: #101114;
  transform: rotate(-2deg);
}

.module-catalogue {
  padding: 92px 6vw 110px;
  background: #121316;
  color: #fff;
}

.module-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
}

.module-section-heading span,
.module-info > span,
.module-cta div > span {
  color: #a9df20;
}

.module-section-heading h2 {
  margin: 12px 0 0;
  font: 600 clamp(40px, 5vw, 68px)/1 "Space Grotesk", sans-serif;
  letter-spacing: -.05em;
}

.module-section-heading p {
  max-width: 460px;
  margin: 0;
  color: #a9aaa6;
  line-height: 1.7;
}

.module-list {
  display: grid;
  gap: 14px;
}

.module-row {
  min-height: 280px;
  display: grid;
  grid-template-columns: 80px 190px minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  padding: 30px 34px;
  color: #fff;
}

.row-pink { background: #ed058c; }
.row-purple { background: #392071; }
.row-black { background: #292a2d; }

.module-number {
  align-self: start;
  font: 700 13px "Space Grotesk", sans-serif;
  opacity: .7;
}

.module-logo img {
  width: 160px;
  height: 160px;
  display: block;
  object-fit: contain;
}

.module-info h3 {
  margin: 6px 0 8px;
  font: 600 clamp(30px, 3.4vw, 50px)/1 "Space Grotesk", sans-serif;
  letter-spacing: -.04em;
}

.module-info p {
  max-width: 650px;
  margin: 0;
  color: #ffffffcf;
  line-height: 1.6;
}

.module-info ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.module-info li {
  padding: 7px 10px;
  border: 1px solid #ffffff5c;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
}

.module-row > a {
  min-width: 120px;
  padding: 14px 0;
  border-bottom: 1px solid #ffffff80;
  font-weight: 700;
}

.module-row > a span {
  float: right;
}

.module-row > a:hover {
  border-color: #fff;
}

.module-cta {
  margin: 55px 3vw;
  padding: 60px 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: #b7e52d;
}

.module-cta div > span {
  color: #101114;
}

.module-cta h2 {
  margin: 10px 0 0;
  font: 600 clamp(36px, 4vw, 58px)/1 "Space Grotesk", sans-serif;
  letter-spacing: -.045em;
}

.module-cta > a {
  padding: 15px 20px;
  border-radius: 4px;
  background: #101114;
  color: #fff;
  font-weight: 700;
}

.module-cta > a span {
  margin-left: 28px;
}

.latest-modules { padding: 92px 6vw 105px; background: #f1f1eb; }
.latest-modules-heading { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 38px; }
.latest-modules-heading span,
.module-form-kicker { color: #668c00; font: 700 11px/1 "Space Grotesk", sans-serif; letter-spacing: .17em; }
.latest-modules-heading h2 { margin: 10px 0 8px; font: 600 clamp(40px, 5vw, 68px)/1 "Space Grotesk", sans-serif; letter-spacing: -.05em; }
.latest-modules-heading p { margin: 0; color: #666960; }
.module-search-board{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:-8px 0 34px}.module-search-board label{min-width:min(520px,100%);display:flex;align-items:center;gap:12px;border-bottom:1px solid #92958d}.module-search-board input{width:100%;padding:12px 0;border:0;outline:0;background:transparent;font:500 18px "DM Sans",sans-serif}.module-search-board>div{display:flex;flex-wrap:wrap;gap:8px}.module-search-board button{padding:10px 16px;border:1px solid #d0d2c8;border-radius:99px;background:transparent;cursor:pointer}.module-search-board button.active{border-color:#111;background:#111;color:#fff}.module-game-category{display:inline-block;margin-top:10px;padding:5px 8px;background:#e8f4c7;color:#506f00;font-size:10px;font-weight:800;text-transform:uppercase}
.latest-modules-heading button,
.module-publish { border: 0; border-radius: 4px; padding: 15px 20px; background: #101114; color: #fff; font: 700 13px "DM Sans", sans-serif; cursor: pointer; }
.latest-modules-heading button[hidden] { display: none; }
.latest-modules-heading button:hover,
.module-publish:hover { background: #6c9400; }
.latest-module-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.latest-module-card { min-width: 0; background: #fff; border: 1px solid #d9dacf; }
.module-file-art { min-height: 168px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; background: #191a1d; color: #fff; }
.module-file-art span { font: 700 11px "Space Grotesk", sans-serif; letter-spacing: .13em; }
.module-file-art b { align-self: flex-end; font: 700 54px/.9 "Space Grotesk", sans-serif; opacity: .82; }
.course-makecode .module-file-art { background: #ed058c; }
.course-gdevelop .module-file-art { background: #392071; }
.course-roblox .module-file-art { background: #121316; }
.course-general .module-file-art { background: #6c9300; }
.latest-module-info { padding: 24px; }
.latest-date { color: #77805e; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.latest-module-info h3 { margin: 8px 0; font: 600 27px/1.05 "Space Grotesk", sans-serif; letter-spacing: -.035em; }
.latest-module-info > p { min-height: 50px; margin: 0; color: #686b63; line-height: 1.55; }
.latest-module-meta { margin-top: 22px; padding-top: 17px; border-top: 1px solid #dedfd6; }
.latest-module-meta > span { display: block; margin-bottom: 13px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.latest-module-meta div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.latest-module-meta a { color: #587900; font-size: 12px; font-weight: 700; }
.latest-module-meta button { border: 0; background: none; color: #a32626; font-size: 11px; font-weight: 700; cursor: pointer; }
.module-empty { padding: 55px; text-align: center; border: 1px dashed #b9bbae; }
.module-empty[hidden] { display: none; }
.module-empty span { color: #85b400; font-size: 38px; }
.module-empty h3 { margin: 8px 0; font: 600 24px "Space Grotesk", sans-serif; }
.module-empty p { margin: 0; color: #6f726a; }
.module-upload-dialog { width: min(620px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 8px; background: #f6f6f1; color: #17181a; box-shadow: 0 30px 90px #0008; }
.module-upload-dialog::backdrop { background: #10120fc9; backdrop-filter: blur(5px); }
.module-upload-dialog form { position: relative; display: grid; gap: 16px; padding: 36px; }
.module-upload-dialog h2 { margin: 0; font: 600 38px/1 "Space Grotesk", sans-serif; letter-spacing: -.04em; }
.module-upload-dialog form > p { margin: -7px 0 5px; color: #6a6c65; }
.module-dialog-close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #17181a; color: #fff; font-size: 22px; cursor: pointer; }
.module-upload-dialog label { display: grid; gap: 7px; font-size: 12px; font-weight: 700; }
.module-upload-dialog input,
.module-upload-dialog select,
.module-upload-dialog textarea { width: 100%; box-sizing: border-box; border: 1px solid #cfd1c6; border-radius: 3px; padding: 12px; background: #fff; color: #17181a; font: 500 14px "DM Sans", sans-serif; }
.module-upload-dialog textarea { min-height: 92px; resize: vertical; }
.module-file-drop { padding: 20px; place-items: center; border: 1px dashed #8b8f80; text-align: center; cursor: pointer; }
.module-file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.module-file-drop > span { font-size: 26px; }
.module-file-drop small { color: #74776e; font-weight: 500; }
.module-publish { width: 100%; }
.module-publish:disabled { opacity: .55; cursor: wait; }
.module-form-notice { padding: 11px; border-radius: 3px; font-size: 13px; }
.module-form-notice[hidden] { display: none; }
.module-form-notice.success { background: #dff0bb; color: #3f5900; }
.module-form-notice.error { background: #f6d6d3; color: #86231d; }

@media (max-width: 980px) {
  .module-hero {
    grid-template-columns: 1fr;
  }

  .module-hero-visual {
    min-height: 520px;
  }

  .module-row {
    grid-template-columns: 55px 140px minmax(0, 1fr);
  }

  .module-logo img {
    width: 130px;
    height: 130px;
  }

  .module-row > a {
    grid-column: 3;
    justify-self: start;
  }

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

@media (max-width: 680px) {
  .module-hero {
    min-height: auto;
    padding: 55px 22px 70px;
  }

  .module-hero h1 {
    font-size: 58px;
  }

  .module-hero-copy > p {
    font-size: 16px;
  }

  .module-hero-visual {
    min-height: 430px;
  }

  .hero-software {
    width: 135px;
    height: 168px;
    padding: 12px;
  }

  .hero-software img {
    width: 78px;
    height: 78px;
  }

  .hero-roblox {
    right: 11%;
  }

  .module-catalogue {
    padding: 70px 22px 80px;
  }

  .module-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .module-row {
    grid-template-columns: 44px 1fr;
    gap: 18px;
    padding: 25px 20px;
  }

  .module-logo {
    grid-column: 2;
  }

  .module-logo img {
    width: 105px;
    height: 105px;
  }

  .module-info,
  .module-row > a {
    grid-column: 1 / -1;
  }

  .module-info ul {
    align-items: flex-start;
    flex-direction: column;
  }


  .module-cta {
    margin: 0;
    padding: 50px 24px;
    align-items: flex-start;
    flex-direction: column;
  }

  .latest-modules { padding: 70px 22px; }
  .latest-modules-heading { align-items: flex-start; flex-direction: column; }
  .module-search-board{align-items:stretch;flex-direction:column}.module-search-board label{min-width:0}
  .latest-module-grid { grid-template-columns: 1fr; }
  .module-upload-dialog form { padding: 30px 22px 24px; }
}
