/*
 * Checklist cards (plan-checklist-cards-bnr): on white, the heading and a line on the left, and who the plan suits
 * on the right as bordered cards, each with a tick (Growth's "Is Growth right for you?").
 */

.wp-block-group.plan-pattern.plan-pattern--checklist-cards-bnr {
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: var(--white);
  color: var(--text);
}

.plan-pattern--checklist-cards-bnr .wp-block-group__inner-container {
  display: contents;
}

.plan-pattern--checklist-cards-bnr .plan-pattern__checklist-cards-bnr-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px 56px;
  margin: 0;
  padding: 56px clamp(24px, 4.4vw, 56px);
}

.plan-pattern--checklist-cards-bnr .plan-pattern__checklist-cards-bnr-intro {
  display: flex;
  flex: 1 1 340px;
  flex-direction: column;
  gap: 10px;
}

.plan-pattern--checklist-cards-bnr .plan-pattern__checklist-cards-bnr-heading {
  margin: 0;
  color: #0d3d39;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(30px, 3.6vw, 36px);
  font-weight: 400;
  line-height: 1.15;
  text-transform: none;
}

.plan-pattern--checklist-cards-bnr .plan-pattern__checklist-cards-bnr-text {
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
}

/* The cards: two across on wide screens, never more */

.plan-pattern--checklist-cards-bnr .plan-pattern__checklist-cards-bnr-list {
  display: grid;
  flex: 2 1 560px;
  grid-template-columns: repeat(auto-fit, minmax(max(min(260px, 100%), calc((100% - 14px) / 2)), 1fr));
  gap: 14px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan-pattern--checklist-cards-bnr .plan-pattern__checklist-cards-bnr-list li {
  display: flex;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 16px;
  line-height: 1.45;
}

.plan-pattern--checklist-cards-bnr .plan-pattern__checklist-cards-bnr-list li::before {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--teal-dark);
  content: "";
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Phones */

@media (max-width: 700px) {
  .plan-pattern--checklist-cards-bnr .plan-pattern__checklist-cards-bnr-inner {
    padding: 44px 16px;
  }
}
