/* Numbered commitments in the third CSR section. */
/* Let this section end after the last commitment, retaining its top spacing. */
html body[data-route="csr"] .split-template-page--dropdown-standardized .split-template-section.dropdown-standardized-highlights :is(.split-template-band, .split-template-band-content, .split-template-panel) {
  min-height: 0;
}

html body[data-route="csr"] .split-template-page--dropdown-standardized .split-template-section.dropdown-standardized-highlights .split-template-panel {
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Match the second section to the third section's typography. */
:where(body[data-route="csr"]) .split-template-page--dropdown-standardized .split-template-section.dropdown-standardized-overview .split-template-panel {
  gap: 0.85rem;
}

:where(body[data-route="csr"]) .split-template-page--dropdown-standardized .split-template-section.dropdown-standardized-overview .split-template-panel h2 {
  font-size: clamp(2.3rem, 3.5vw, 3.55rem);
}

:where(body[data-route="csr"]) .split-template-page--dropdown-standardized .split-template-section.dropdown-standardized-overview .split-template-panel > p:not(.eyebrow) {
  max-width: 36rem;
  font-size: 0.92rem;
  line-height: 1.56;
}

@media (min-width: 760px) {
  :where(body[data-route="csr"]) .split-template-page--dropdown-standardized .split-template-section.dropdown-standardized-overview .split-template-panel h2 {
    max-width: 11ch;
  }
}

body[data-route="csr"] :is(.dropdown-standardized-highlights, .dropdown-standardized-overview) .split-template-panel > .eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

body[data-route="csr"] :is(.dropdown-standardized-highlights, .dropdown-standardized-overview) .split-template-panel > .eyebrow::before {
  content: "";
  width: 3px;
  height: 1.3rem;
  flex: 0 0 3px;
  background: var(--color-accent);
}

body[data-route="csr"] .dropdown-standardized-highlights .split-template-list {
  counter-reset: csr-commitment;
  grid-auto-rows: 1fr;
}

body[data-route="csr"] .split-template-section.dropdown-standardized-highlights .split-template-list-item {
  counter-increment: csr-commitment;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: 1.1rem;
  align-items: center;
  border-top-color: var(--color-accent);
}

body[data-route="csr"] .split-template-section.dropdown-standardized-highlights .split-template-list-item,
body[data-route="csr"] .split-template-section.dropdown-standardized-highlights .split-template-list-item:first-child {
  padding-block: 0.85rem;
  border-top-width: 1px;
  border-top-style: solid;
}

body[data-route="csr"] .split-template-section.dropdown-standardized-highlights .split-template-list-item:first-child {
  border-top-color: transparent;
}

body[data-route="csr"] .dropdown-standardized-highlights .split-template-list-item::before {
  content: counter(csr-commitment, decimal-leading-zero);
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  align-self: start;
  padding-top: 0.35rem;
}

@media (min-width: 1100px) {
  body[data-route="csr"] .dropdown-standardized-highlights .split-template-list-item::before {
    align-self: center;
    justify-self: stretch;
    text-align: center;
    padding: 0;
  }
}

body[data-route="csr"] .split-template-section.dropdown-standardized-highlights .split-template-list-copy {
  min-height: 0;
  align-self: stretch;
  align-content: start;
  padding-left: 1.35rem;
  border-left: 1px solid var(--color-accent);
}

@media (max-width: 759px) {
  body[data-route="csr"] .split-template-section.dropdown-standardized-highlights .split-template-list-item {
    grid-template-columns: 2.4rem minmax(0, 1fr);
    gap: 0.65rem;
  }

  body[data-route="csr"] .dropdown-standardized-highlights .split-template-list-item::before {
    font-size: 1.65rem;
  }

  body[data-route="csr"] .split-template-section.dropdown-standardized-highlights .split-template-list-copy {
    padding-left: 0.85rem;
  }
}

/* Blue numbered cards mirror the mobile home process cards. */
@media (max-width: 1099px) {
  body[data-viewport="mobile"][data-route="csr"] .dropdown-standardized-highlights .split-template-list {
    counter-reset: csr-commitment;
    grid-auto-rows: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    margin-top: 1.8rem;
    padding: 0;
    border: 0;
  }

  body[data-viewport="mobile"][data-route="csr"] .split-template-section.dropdown-standardized-highlights .split-template-list .split-template-list-item {
    counter-increment: csr-commitment;
    display: grid;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0.55rem;
    min-height: 0;
    padding: 1.05rem 0.95rem 1rem;
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-accent);
    background: var(--color-bg);
    box-shadow: 0 12px 20px var(--color-shadow-soft);
  }

  body[data-viewport="mobile"][data-route="csr"] .dropdown-standardized-highlights .split-template-list .split-template-list-item::before {
    content: counter(csr-commitment, decimal-leading-zero);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 1.65rem;
    padding: 0.18rem 0.45rem;
    border: 1px solid var(--color-accent-border);
    background: var(--color-accent-wash);
    color: var(--color-accent);
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.14em;
  }

  body[data-viewport="mobile"][data-route="csr"] .dropdown-standardized-highlights .split-template-list .split-template-list-item::after {
    content: none;
  }

  body[data-viewport="mobile"][data-route="csr"] .dropdown-standardized-highlights .split-template-list .split-template-list-icon {
    display: none !important;
  }

  body[data-viewport="mobile"][data-route="csr"] .dropdown-standardized-highlights .split-template-list .split-template-list-copy {
    gap: 0.9rem;
    padding-left: 0;
    border-left: 0;
  }

  body[data-viewport="mobile"][data-route="csr"] .dropdown-standardized-highlights .split-template-list .split-template-list-copy h3 {
    margin: 0;
    color: var(--color-navy-dark);
    font-size: 1.18rem !important;
    line-height: 1.12;
    letter-spacing: -0.03em;
    text-wrap: balance;
  }

  body[data-viewport="mobile"][data-route="csr"] .dropdown-standardized-highlights .split-template-list .split-template-list-copy p {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: 0.98rem;
    line-height: 1.62;
  }
}

@media (max-width: 1099px) {
  body[data-viewport="mobile"][data-route="csr"] .split-template-section .split-template-panel > .eyebrow::before,
  body[data-viewport="mobile"][data-route="csr"] .split-template-section .split-template-panel > .eyebrow::after {
    content: none !important;
    display: none !important;
  }
}
