/* Two-card row: Observational | divider | Master (OR label on stacked mobile only) */
.ahr-membership-plans-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: center;
  gap: 20px 56px;
  margin: 0 auto;
}

.ahr-membership-plans-col {
  flex: 0 1 320px;
  width: 100%;
  max-width: 320px;
  display: flex;
  justify-content: center;
}

.ahr-membership-plans-col-stack {
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.ahr-membership-plans-col .ahr-card {
  width: 100%;
  max-width: 320px;
}

/* Vertical divider between cards (desktop) — match RT unlock widget separator */
.ahr-membership-plans-or {
  flex: 0 0 auto;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 0;
  padding: 8px 10px;
  position: relative;
}

.ahr-membership-plans-or::before {
  content: "";
  flex: 1 1 auto;
  width: 1px;
  min-height: 24px;
  opacity: 0.5;
  align-self: stretch;
  background: linear-gradient(
    to bottom,
    rgba(215, 217, 220, 0) 0%,
    rgb(191, 192, 196) 14%,
    rgb(191, 192, 196) 86%,
    rgb(215, 217, 220, 0) 100%
  );
}

.ahr-membership-plans-or-line,
.ahr-membership-plans-or-text {
  display: none;
}

.ahr-membership-plans-or-text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #64748b;
  text-transform: uppercase;
}

/* Toggle above each card (outside card body) */
.ahr-membership-plans-col-stack > .ahr-membership-toggle {
  width: 100%;
  margin: 0;
  text-align: center;
}

/* Request Coupon — visible by default on Master card; hidden when Yearly billing is selected */
.ahr-card-master-mentorship .ahr-card-lifetime-extras {
  display: block;
  text-align: center;
  margin-top: -5px;
  margin-bottom: 14px;
}

.ahr-card-master-mentorship.ahr-billing-yearly .ahr-card-lifetime-extras {
  display: none;
}

.ahr-card-lifetime-extras .ahr-lifetime-discount-undercta {
  margin-top: 4px;
}

.ahr-card-lifetime-extras .ahr-lifetime-discount-link {
  font-size: 13px;
  font-weight: 500;
  color: #32a2e7;
  text-decoration: underline;
}

.ahr-card-lifetime-extras .ahr-lifetime-discount-link:hover {
  color: #228ad0;
}

@media (max-width: 720px) {
  .ahr-membership-plans-row {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    gap: 62px;
  }

  .ahr-membership-plans-or {
    flex-direction: row;
    align-self: center;
    width: 100%;
    max-width: 320px;
    min-height: 0;
    padding: 4px 10px;
    gap: 10px;
  }

  .ahr-membership-plans-or::before {
    display: none;
  }

  .ahr-membership-plans-or-line,
  .ahr-membership-plans-or-text {
    display: block;
  }

  .ahr-membership-plans-or-line {
    flex: 1 1 auto;
    width: auto;
    height: 1px;
    min-height: 0;
    min-width: 24px;
    background: linear-gradient(
      to right,
      rgba(229, 231, 235, 0) 0%,
      rgba(229, 231, 235, 1) 14%,
      rgba(229, 231, 235, 1) 86%,
      rgba(229, 231, 235, 0) 100%
    );
  }
}
