/* Checklist w/ Image
   Image beside a heading + subheading + a single checklist that auto-flows into
   1 or 2 columns (CSS multi-column; count from an inline --cols var on the <ul>).
   Checkmarks are pure CSS: a white tick inside a brand-blue circle — nothing to upload.
   Settable section background + light/dark text scheme (.scheme-light / .scheme-dark).
   Brand: $darkblue #023769 / $blue #03a1e2 · breakpoints 991.98 / 767.98 (match theme). */

.checklist-w-image {
  position: relative;
  padding-top: 70px;
  padding-bottom: 70px;
}

.checklist-w-image .content-area {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}
/* switch_content => image on the opposite side */
.checklist-w-image .content-area.revert {
  flex-direction: row-reverse;
}

/* Image column */
.checklist-w-image .image-area {
  flex: 0 0 calc(45% - 25px);
  max-width: calc(45% - 25px);
}
.checklist-w-image .image-area img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

/* Content column */
.checklist-w-image .content-col {
  flex: 0 0 calc(55% - 25px);
  max-width: calc(55% - 25px);
}
.checklist-w-image .content-col h2 {
  color: #03a1e2; /* brand blue heading (matches mockup) */
  margin: 0 0 8px;
}
.checklist-w-image .cli-subheading {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 26px;
}

/* Checklist — multi-column auto-flow */
.checklist-w-image .cli-list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: var(--cols, 2);
  column-gap: 40px;
}
.checklist-w-image .cli-list li {
  position: relative;
  padding-left: 38px;
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.4;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
}
.checklist-w-image .cli-list li:last-child {
  margin-bottom: 0;
}
/* blue circle */
.checklist-w-image .cli-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #03a1e2;
}
/* white checkmark */
.checklist-w-image .cli-list li::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 5px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ---- Text schemes ---- */
/* Dark text (for light section backgrounds) */
.checklist-w-image.scheme-dark .cli-subheading {
  color: #023769;
}
.checklist-w-image.scheme-dark .cli-list li {
  color: rgba(2, 55, 105, 0.85);
}
/* Light text (for dark section backgrounds) */
.checklist-w-image.scheme-light .cli-subheading {
  color: #fff;
}
.checklist-w-image.scheme-light .cli-list li {
  color: rgba(255, 255, 255, 0.85);
}

/* Tablet — stack image above content */
@media (max-width: 991.98px) {
  .checklist-w-image .content-area {
    gap: 36px;
  }
  .checklist-w-image .image-area,
  .checklist-w-image .content-col {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Mobile — single-column checklist */
@media (max-width: 767.98px) {
  .checklist-w-image {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .checklist-w-image .cli-list {
    columns: 1;
  }
}
