/* Basic three-column layout for the care levels cards. */
.ebp-custom-levels-1 {
  background-color: var(--blue);
  color: var(--white);
}

.ebp-custom-levels-1__grid {
  display: grid;
  gap: var(--spacing-7);
}

.ebp-custom-levels-1__item {
  display: flex;
  flex-direction: column;
  /* gap: var(--spacing-1); */
  min-height: 100%;
}

.ebp-custom-levels-1__heading {
  font-size: var(--fs-48);
  line-height: 1.1;
}

.ebp-custom-levels-1__subheading {
  font-size: var(--fs-small);
  font-weight: 700;
  margin-block-start: 0;
  color: #71acb0;
  margin-block-start: 0 !important;
}

.ebp-custom-levels-1__content {
  font-size: var(--fs-small);
}

.ebp-custom-levels-1__content p:first-child,
.ebp-custom-levels-1__footer-content p:first-child {
  margin-block-start: 0;
}

/* The table uses fixed labels, with the right-hand content filled in via Elementor fields. */
.ebp-custom-levels-1__table {
  border-top: 1px solid currentColor;
  border-left: 1px solid currentColor;
}

.ebp-custom-levels-1__table > div:nth-child(odd) {
  background-color: #5c8da3;
}

.ebp-custom-levels-1__table > div:nth-child(even) {
  background-color: #1d6785;
}

.ebp-custom-levels-1__table-row {
  display: grid;
  grid-template-columns: minmax(9rem, 12rem) minmax(0, 1fr);
}

.ebp-custom-levels-1__table-cell {
  padding: 0.875rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  font-size: var(--fs-small);
  line-height: 1.4;
}

/* .ebp-custom-levels-1__table-cell--left {
  font-weight: 700;
} */

.ebp-custom-levels-1__footer-content {
  font-size: 0.95rem;
}

.ebp-custom-levels-1__actions {
  
  padding-top: var(--spacing-1);
  text-align: center;
}

.ebp-custom-levels-1__button {
  min-width: 10rem;
}

@media (min-width: 1024px) {
  .ebp-custom-levels-1__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }
}

@media (max-width: 767px) {
  .ebp-custom-levels-1__table-row {
    grid-template-columns: 1fr;
  }

  .ebp-custom-levels-1__table-cell--left {
    padding-bottom: 0.35rem;
  }

  .ebp-custom-levels-1__table-cell--right {
    padding-top: 0.35rem;
  }
}
