/* NESkills v187 — homepage All Courses CTA interaction + colour */
.home80-pathways > .container {
  position: relative;
}

.home80-all-courses {
  position: relative;
  z-index: 120;
  isolation: isolate;
}

.home80-all-courses .home80-btn-outline {
  position: relative;
  z-index: 2;
  pointer-events: auto !important;
  color: #150f00 !important;
  border-color: rgba(185, 131, 0, 0.72) !important;
  background: linear-gradient(180deg, #F8C94A 0%, #F4B400 100%) !important;
  box-shadow: 0 12px 28px rgba(244, 180, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.42) !important;
}

.home80-all-courses .home80-btn-outline:hover,
.home80-all-courses .home80-btn-outline:focus-visible {
  color: #150f00 !important;
  border-color: #B98300 !important;
  background: linear-gradient(180deg, #FFD15C 0%, #F4B400 100%) !important;
  box-shadow: 0 15px 32px rgba(244, 180, 0, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.48) !important;
}

.home80-all-courses .home80-btn-outline:active {
  transform: translateY(0) scale(0.99);
}

@media (max-width: 767px) {
  .home80-course-grid.mobile-sticky-stack {
    z-index: 1 !important;
  }

  .home80-all-courses {
    z-index: 200 !important;
    margin-top: 16px !important;
    pointer-events: auto !important;
  }

  .home80-all-courses::before {
    content: "";
    position: absolute;
    inset: -14px -4px;
    z-index: -1;
    background: var(--paper, #FCF9F3);
    pointer-events: none;
  }

  .home80-all-courses .home80-btn-outline {
    min-height: 54px !important;
    width: 100% !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(244, 180, 0, 0.22);
  }
}
