html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.basic-gateway,
.basic-gateway * {
  box-sizing: border-box;
  min-width: 0;
}

.basic-gateway {
  width: min(960px, 100%);
  max-width: 100%;
  padding-right: max(16px, env(safe-area-inset-right));
  padding-left: max(16px, env(safe-area-inset-left));
}

.basic-gateway #courseView,
.basic-gateway .basic-nav,
.basic-gateway .hero,
.basic-gateway .panel,
.basic-gateway .member-summary,
.basic-gateway .video-course,
.basic-gateway .video-player-sticky,
.basic-gateway .lesson-list,
.basic-gateway .lesson,
.basic-gateway .module-grid,
.basic-gateway .module-card,
.basic-gateway .field input,
.basic-gateway .code-row {
  width: 100%;
  max-width: 100%;
}

.basic-gateway .nav-actions,
.basic-gateway .locale-control,
.basic-gateway .actions,
.basic-gateway .btn,
.basic-gateway button {
  max-width: 100%;
}

.basic-gateway .btn,
.basic-gateway button {
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  -webkit-appearance: none;
  appearance: none;
}

.basic-gateway .locale-control select {
  max-width: 100%;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}

.basic-gateway .field input {
  display: block;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.25;
  -webkit-appearance: none;
  appearance: none;
}

.basic-gateway .hero,
.basic-gateway .panel {
  overflow-wrap: anywhere;
}

.basic-gateway .video-player-sticky {
  overflow: hidden;
}

.basic-gateway .video-player-sticky video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.basic-gateway .lesson-list {
  overflow-x: hidden;
}

.basic-gateway .lesson-free {
  max-width: 100%;
}

@media (max-width: 480px) {
  .basic-gateway {
    padding-top: 16px;
    padding-bottom: 48px;
  }

  .basic-gateway .hero,
  .basic-gateway .panel,
  .basic-gateway .video-course {
    padding: 16px;
    border-radius: 16px;
  }

  .basic-gateway h1 {
    font-size: clamp(24px, 6.6vw, 28px);
  }

  .basic-gateway h2 {
    font-size: 18px;
    line-height: 1.35;
  }

  .basic-gateway .muted {
    font-size: 14px;
    line-height: 1.65;
  }

  .basic-gateway .actions {
    width: 100%;
  }

  .basic-gateway .actions > .btn,
  .basic-gateway .actions > button {
    width: 100%;
  }

  .basic-gateway .basic-nav {
    margin-bottom: 22px;
  }

  .basic-gateway .nav-actions {
    max-width: calc(100% - 54px);
  }

  .basic-gateway .nav-course-link {
    padding-inline: 12px;
  }

  .basic-gateway .video-player-sticky {
    padding: 8px;
  }
}
