.course-bundle-cards {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  margin: 1.5rem 0;
}

.course-bundle-card {
  flex: 0 1 485px;
  padding: clamp(1.25rem, 4vw, 2rem);
  background: var(--accent-2);
  cursor: pointer;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.course-bundle-card__type {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #555;
  margin-bottom: 0.4rem;
}

.course-bundle-card__title {
  font-size: 1.15rem;
  font-weight: 700 !important;
  margin: 0 0 0.75rem;
}

.course-bundle-card__features {
  margin: 0 0 1.25rem;
  width: 100%;
}

.course-bundle-card__price {
  font-size: 2.25rem;
  font-weight: 800;
  color: #1a1a1a;
  margin: 1.25rem 0;
}

.course-bundle-card__vat {
  font-size: 2.25rem;
  font-weight: 800;
}

.course-bundle-card__btn {
  position: relative;
  display: inline-block;
  font-size: 16px;
  font-weight: bold;
  margin-top: auto;
  border-radius: 40px;
  color: white !important;
  padding: 12px clamp(1.5rem, 4vw, 32px);
  background-color: var(--core-color);
  text-decoration: none;
  border: none;
  cursor: pointer;
}

/* When embedded in a subscription-product paragraph, the outer paragraph
   theme squeezes us into a narrow centre column and wraps everything in a
   coloured block that visually merges the cards. Neutralise both so the
   cards can flow side-by-side and wrap only when there isn't room. */
.paragraph-subscription-product:has(.course-bundle-product) {
  display: block;
  grid-template-areas: none;
  grid-template-columns: none;
  gap: 0;
}

.paragraph-subscription-product__content:has(.course-bundle-product) {
  background: transparent;
  border: none;
  padding-bottom: 0;
  justify-self: stretch;
  width: 100%;
  max-width: none;
}
