/* Integration with the existing app. Design styles stay inside each page. */
.redesign-home, .redesign-courses { box-sizing: border-box; }
/* Keep both fixed controls reachable without stacking them on one another. */
body:has(.redesign-home, .redesign-courses) .bolt-cookie-trigger {
  left: 16px; right: auto;
}
.redesign-home #section-5-267 .ct-section-inner-wrap,
.redesign-courses footer {
  padding-bottom: 84px;
}
/* Compact tablet spacing also covers fractional widths between breakpoints. */
@media (max-width: 1200px) {
  .redesign-home .bolt-original-nav > ul:not(.is-open) { gap: 18px; }
}
/* Preserve word boundaries in narrow, horizontally scrolling skill cards. */
.redesign-courses .course-content { min-width: 0; }
.redesign-courses .course-content h3 { overflow-wrap: anywhere; }
@media (max-width: 720px) {
  .redesign-courses .course-content h3 br { display: initial; }
}
@media (max-width: 767px) {
  .redesign-home .bolt-original-nav > ul.is-open {
    max-height: calc(100dvh - 74px - 72px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .redesign-home .bolt-original-nav .bolt-learning:not(.is-open) > ul {
    display: none;
  }
}
.redesign-skip { position: fixed; left: 20px; top: -100px; z-index: 100; padding: 12px 20px; background: #87e64a; color: #121510; }
.redesign-skip:focus { top: 20px; }
.redesign-home .learning-menu-toggle { padding: 8px; }
.redesign-home .nav-submenu-heading { display: flex; align-items: center; gap: 4px; }
.redesign-home .learning-menu-toggle { min-width: 32px; }
.redesign-courses h1 { font-weight: 400; }
.redesign-courses h2, .redesign-courses h3 { font-weight: 500; }
.redesign-courses .course-video-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; height: 100%; padding: 24px; text-align: center; gap: 12px;
  color: #fafbf8;
}
.redesign-courses .course-video-placeholder p { color: #d9ded5; }
.redesign-courses .course-video-placeholder button {
  background: #87e64a; border: 0; border-radius: 3px; padding: 12px 18px;
  font: 600 14px Manrope, sans-serif; color: #121510; cursor: pointer;
}
.redesign-courses button:focus-visible { outline: 3px solid #87e64a; outline-offset: 5px; }
@media (prefers-reduced-motion: reduce) {
  html:has(.redesign-home), html:has(.redesign-courses) { scroll-behavior: auto; }
  .redesign-home *, .redesign-home *::before, .redesign-home *::after,
  .redesign-courses *, .redesign-courses *::before, .redesign-courses *::after {
    animation: none !important; transition: none !important;
  }
}
