/* =========================================================
   Voctos — Content Marketing: When Help + Results + Sales-growth chart
   Values matched 1:1 to the source (heading 34px, cards 32px/30r,
   item title 18/500, bars 48px square, band #eff0f4).
   ========================================================= */
.cwh-sec { font-family: 'Unbounded', sans-serif; color: #0D172D; background: #eff0f4; padding: 50px 0; }
.cwh-inner { max-width: 1350px; margin: 0 auto; }

.cwh-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 445px;
  gap: 24px;
  align-items: stretch;
}

/* both columns are white rounded cards on the light-gray band */
.cwh-left {
  background: #fff;
  border-radius: 30px;
  padding: 32px;
}

/* ---------- headings ---------- */
.cwh-h2 {
  font-family: 'Unbounded', sans-serif;
  font-weight: 400;
  font-size: 34px;
  line-height: 51px;
  color: #0D172D;
  margin: 0 0 22px;
}
.cwh-h2--res {
  font-size: 22px;
  font-weight: 500;
  line-height: 28px;
  margin: 40px 0 12px;
}

/* ---------- checklist (2 columns) ---------- */
.cwh-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 30px;
  row-gap: 28px;
}
.cwh-item-head { display: flex; align-items: flex-start; gap: 12px; }
.cwh-item-title {
  font-family: 'Unbounded', sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
  color: #0D172D;
  margin: 0;
}
.cwh-item-text {
  font-family: 'Unbounded', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #0D172D;
  margin: 10px 0 0;
}

/* toggle-switch check icon */
.cwh-toggle {
  flex: 0 0 auto;
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 48px;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e9f4b8 0%, #c3e14f 100%);
  padding: 3px;
}
.cwh-toggle-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0D172D;
  transform: translateX(22px);
}
.cwh-toggle-dot svg { width: 12px; height: 12px; display: block; }

/* ---------- results row ---------- */
.cwh-results {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.cwh-result {
  padding: 0 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cwh-result:first-child { padding-left: 0; }
.cwh-result + .cwh-result { border-left: 1px solid #e3e7ef; }
.cwh-result-word {
  font-family: 'Unbounded', sans-serif;
  font-weight: 400;
  font-size: 30px;
  line-height: 36px;
  color: #0D172D;
}
.cwh-result-text {
  font-family: 'Unbounded', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #0D172D;
}

/* ---------- chart card ---------- */
.cwh-chartcard {
  background: #fff;
  border-radius: 30px;
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.cwh-chart-title {
  font-family: 'Unbounded', sans-serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 27.5px;
  color: #0D172D;
  margin: 0 0 10px;
}
.cwh-chart-sub {
  font-family: 'Unbounded', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: #9aa1b0;
  margin: 0 0 30px;
}
.cwh-chart {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  align-items: end;
  flex: 1 1 auto;
  min-height: 0;
}
.cwh-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}
.cwh-bar-value {
  font-family: 'Unbounded', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: #0D172D;
  margin-bottom: 8px;
}
.cwh-bar {
  width: 100%;
  max-width: 48px;
  border-radius: 0;
  background: linear-gradient(180deg, #9bb725 0%, rgba(155,183,37,0.05) 100%);
  transition: height .6s cubic-bezier(.2,.7,.2,1);
}
.cwh-bar-label {
  font-family: 'Unbounded', sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: #0D172D;
  margin-top: 12px;
  text-align: center;
}

/* ---------- responsive ---------- */
/* Never let the section push the page wider than the viewport */
.cwh-sec { overflow-x: hidden; max-width: 1350px; margin: 0 auto; }
.cwh-inner, .cwh-left, .cwh-chartcard, .cwh-chart { max-width: 100%; }

@media (max-width: 1100px) {
  .cwh-grid { grid-template-columns: 1fr; }
  .cwh-chartcard { max-width: 640px; }
}
@media (max-width: 680px) {
  .cwh-h2 { font-size: 26px; line-height: 1.15; }
  .cwh-list { grid-template-columns: 1fr; }
  .cwh-results { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .cwh-result { padding: 0 18px; min-width: 0; }
  .cwh-result:nth-child(odd) { padding-left: 0; }
  .cwh-result:nth-child(3) { border-left: 0; padding-left: 0; }

  /* Tighter cards so content fits a phone width */
  .cwh-left, .cwh-chartcard { padding: 22px; }

  /* Chart: let the 6 columns shrink below the month-name width (was forcing overflow) */
  .cwh-chart { min-height: 240px; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
  .cwh-bar-col { min-width: 0; }
  .cwh-bar-value { font-size: 12px; }
  .cwh-bar-label { font-size: 9.5px; margin-top: 8px; overflow-wrap: anywhere; line-height: 1.1; }
}
