.bundle-pathway__title {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.bundle-pathway__courses-frame {
  padding: 2.4rem;
  border: 1px solid var(--primary-50);
  border-radius: 1.6rem;
}

.bundle-pathway__card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1.6rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.bundle-pathway__card-media {
  position: relative;
  padding: 1.2rem 1.2rem 0;
}

.bundle-pathway__card-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.2rem;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.bundle-pathway__card-badge {
  position: absolute;
  left: 50%;
  bottom: -50px;
  z-index: 2;
  width: 146px;
  height: auto;
  transform: translateX(-50%);
  filter: drop-shadow(0 8px 16px rgba(15, 23, 42, 0.12));
}

.bundle-pathway__card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 1.2rem;
  padding: calc(30px + 1.6rem) 2rem 2.4rem;
}

.bundle-pathway__card-heading {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.bundle-pathway__tag {
  display: inline-block;
  align-self: flex-start;
  padding: 0.5rem 1rem;
  border-radius: 0.6rem;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.2em;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bundle-pathway__tag--professional {
  background: var(--secondary-95);
  color: var(--professional-certificates-2);
}

.bundle-pathway__tag--specialized {
  background: var(--teal-5);
  color: var(--specialized-certificates);
}

.bundle-pathway__card-title {
  font-size: 2.2rem;
  line-height: 1.3em;
  font-weight: 700;
}

.bundle-pathway__card-title-hours {
  font-weight: 400;
}

.bundle-pathway__card-text {
  font-size: 1.4rem;
  line-height: 1.55em;
}

.bundle-pathway__credit {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.bundle-pathway__credit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 50%;
  background: var(--primary-95);
  color: var(--primary-30);
}

.bundle-pathway__credit-icon svg {
  width: 2.4rem;
  height: 2.4rem;
}

.bundle-pathway__credit-icon--image {
  width: 4.8rem;
  height: 4.8rem;
  padding: 0;
  background: transparent;
}

.bundle-pathway__credit-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.bundle-pathway__credit-label {
  font-size: 1.3rem;
  line-height: 1.3em;
  font-weight: 400;
}

.bundle-pathway__credit-detail {
  font-size: 1.3rem;
  line-height: 1.45em;
  font-weight: 400;
}

.bundle-pathway__credit-detail strong {
  font-weight: 700;
}

.bundle-pathway__credit-text {
  font-size: 1.3rem;
  line-height: 1.45em;
}

.bundle-pathway__card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  margin-top: auto;
  padding: 1.2rem 2rem;
  border: 0;
  border-radius: 999px;
  background: #0088ff;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2em;
  text-decoration: none;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.bundle-pathway__card-btn:hover,
.bundle-pathway__card-btn:focus {
  background: #0074d9;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.bundle-pathway__card-btn .right-arrow,
.bundle-pathway__card-btn .feather.right-arrow,
.bundle-pathway__upgrade-btn .right-arrow,
.bundle-pathway__upgrade-btn .feather.right-arrow {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: currentColor;
  color: inherit;
  stroke-width: 3px;
}

.bundle-pathway__flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 3.2rem;
}

.bundle-pathway__flow-arrow {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  font-size: 2rem;
  line-height: 1;
}

.bundle-pathway__flow-step {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.8rem;
  border: 1px solid #e2e8f0;
  border-radius: 1.2rem;
  background: #fff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.bundle-pathway__flow-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  background: #0088ff;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}

.bundle-pathway__flow-label {
  font-size: 1.4rem;
  line-height: 1.2em;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bundle-pathway__flow-note {
  flex: 1 1 24rem;
  min-width: 18rem;
  padding: 1.2rem 1.8rem;
  border: 1px solid #e2e8f0;
  border-radius: 1.2rem;
  background: #fff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  font-size: 1.4rem;
  line-height: 1.5em;
}

.bundle-pathway__upgrade {
  margin-top: 3.2rem;
  padding: 2.4rem 2.8rem;
  border: 1px solid #D6E6FF;
  border-radius: 1.6rem;
  background: #fff;
}

.bundle-pathway__upgrade-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.6rem;
  object-fit: cover;
}

.bundle-pathway__upgrade-content {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.bundle-pathway__upgrade-title {
  font-size: 2.4rem;
  line-height: 1.25em;
}

.bundle-pathway__upgrade-text {
  font-size: 1.4rem;
  line-height: 1.55em;
}

.bundle-pathway__upgrade-text strong {
  color: #1e293b;
  font-weight: 700;
}

.bundle-pathway__upgrade-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 1.2rem 2.4rem;
  border: 0;
  border-radius: 999px;
  background: #0088ff;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2em;
  text-decoration: none;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.bundle-pathway__upgrade-btn:hover,
.bundle-pathway__upgrade-btn:focus {
  background: #0074d9;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

@media all and (min-width: 992px) {
  .bundle-pathway__title {
    width: 72%;
  }
}

@media all and (max-width: 991px) {
  .bundle-pathway__flow {
    flex-direction: column;
    align-items: stretch;
  }

  .bundle-pathway__flow-arrow {
    justify-content: center;
    transform: rotate(90deg);
  }

  .bundle-pathway__flow-note {
    flex: 1 1 auto;
  }

  .bundle-pathway__upgrade-title {
    font-size: 2.2rem;
  }
}

@media all and (max-width: 767px) {
  .bundle-pathway__courses-frame {
    padding: 1.6rem;
  }

  .bundle-pathway__card-body {
    padding: calc(30px + 1.6rem) 1.8rem 1.8rem;
  }

  .bundle-pathway__card-badge {
    width: 146px;
  }

  .bundle-pathway__upgrade {
    padding: 2rem 1.8rem;
  }

  .bundle-pathway__upgrade-content {
    gap: 1.4rem;
  }

  .bundle-pathway__upgrade-title {
    font-size: 2rem;
  }

  .bundle-pathway__upgrade-text {
    font-size: 1.4rem;
  }
}
