/* cs-icon-list — full-width blue band with heading, italic subtitle, and a
   2-column icon + text list. All rem values follow BB Theme's
   html { font-size: 10px } base — 1.6rem = 16px. */

/* Strip BB's default row chrome so the band meets its neighbours flush. */
.fl-row-content-wrap:has(.cs-icon-list) {
  padding-block: 0;
}
.fl-module-content:has(.cs-icon-list) {
  margin-block: 0;
}

.cs-icon-list {
  /* Full-bleed blue band (same breakout trick as the other bands). */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #5274b1;
  padding-block: 4.4rem 6.4rem;
  font-family: var(--cs-font-body);
  color: var(--cs-white);
}

.cs-icon-list__inner {
  max-width: var(--cs-container);
  margin: 0 auto;
  padding-inline: var(--cs-gutter);
}

/* Doubled classes + font-style so BB Global h2 rules lose. */
.cs-icon-list .cs-icon-list__heading {
  margin: 0 auto;
  max-width: 120rem;
  font-family: var(--cs-font-display);
  font-weight: 800;
  font-size: clamp(3rem, 2.5vw + 1rem, 4rem); /* 30px → 40px */
  font-style: normal;
  line-height: 1.2;
  letter-spacing: var(--cs-tracking-tight);
  color: var(--cs-white);
  text-align: center;
  text-wrap: balance;
}

.cs-icon-list .cs-icon-list__heading .cs-icon-list__heading-accent {
  color: #93b4dd;
}

.cs-icon-list__subtitle {
  margin: var(--cs-space-md) auto 0;
  max-width: 104rem;
  font-family: var(--cs-font-display);
  font-weight: 500;
  font-style: italic;
  font-size: 1.6rem; /* 16px */
  line-height: 1.4;
  color: var(--cs-off-white);
  text-align: center;
}

/* ---------- Items grid ---------- */
.cs-icon-list__grid {
  list-style: none;
  margin: var(--cs-space-xl) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--cs-space-2xl);
  row-gap: var(--cs-space-lg);
}

.cs-icon-list__item {
  display: flex;
  align-items: flex-start;
  gap: 2.4rem;
}

.cs-icon-list__item-icon {
  flex: 0 0 auto;
  width: 6.6rem;
  height: 6.6rem;
  object-fit: contain;
}

.cs-icon-list__item-body {
  min-width: 0;
}

/* Doubled classes so BB Global h3 rules lose. */
.cs-icon-list .cs-icon-list__item .cs-icon-list__item-title {
  margin: 0 0 0.8rem;
  font-family: var(--cs-font-display);
  font-weight: 700;
  font-size: 2rem; /* 20px */
  font-style: normal;
  line-height: 1.4;
  color: var(--cs-white);
}

.cs-icon-list__item-text {
  margin: 0;
  max-width: 44rem;
  font-family: var(--cs-font-display);
  font-weight: 400;
  font-size: 1.4rem; /* 14px */
  line-height: 1.55;
  color: var(--cs-white);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cs-icon-list__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .cs-icon-list__item-text {
    max-width: none;
  }
}
