/* Ignition CX custom layer — loaded AFTER the ported Webflow stylesheet.
   All post-migration design fixes live here; never edit the vendored
   ignition-cx.shared.*.css. Bump the ?v= in build-theme.py when editing. */

/* --- Icon capability tiles (14-Aug-2026) -----------------------------
   Replaces the empty navy photo-card variant (.card-front-3.shorter)
   that shipped from Webflow without its images. */
.igcx-tile {
  background: #fff;
  border: 1px solid #e2e7ec;
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  box-sizing: border-box;
}
.igcx-tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: rgba(1, 176, 132, 0.12);
  color: var(--_styles---green-400, #01b084);
}
.igcx-tile-icon svg {
  width: 24px;
  height: 24px;
}
.igcx-tile-label {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--_styles---blue-700, #162634);
}
@media screen and (max-width: 479px) {
  .igcx-tile { padding: 16px; gap: 10px; }
  .igcx-tile-label { font-size: 14px; }
}

/* --- Replacement grid for the Webflow grid-3 ("Your team", 14-Aug-2026) */
.igcx-tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
}
@media screen and (max-width: 991px) {
  .igcx-tile-grid { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 479px) {
  .igcx-tile-grid { grid-template-columns: 1fr; }
}

/* --- Home "What we do" cards (14-Aug-2026): buttons pinned to a shared
   baseline; card header (image + title) is now a link. */
.div-block-35 .box { display: flex; flex-direction: column; }
.div-block-35 .box .button { margin-top: auto; align-self: flex-start; }
.igcx-cardtop-link {
  display: flex;
  align-items: center;
  gap: 16px;
  color: inherit;
  text-decoration: none;
}
@media screen and (max-width: 479px) {
  .igcx-cardtop-link { flex-direction: column; align-items: flex-start; }
}

/* --- Stat cells (home "Real results" variant without .green): labels at
   the top, numbers aligned along the bottom of the row (14-Aug-2026). */
.div-block-41 .div-block-56 > div:not(.green) { display: flex; flex-direction: column; }
.div-block-41 .div-block-56 > div:not(.green) .heading-26 { margin-top: auto; }

/* --- White info cards (.div-block-64): consistent top alignment across
   each row ("3-Month Trial" and "Why Ignition CX" grids, 14-Aug-2026). */
.div-block-64 { display: flex; flex-direction: column; justify-content: flex-start; }
.div-block-64 h3 { margin-top: 0; }

/* --- Case-study cards: equal heights, stats pinned to the bottom -----
   (14-Aug-2026) Cards are flex columns; the green stat row is a
   2-column equal-height grid so tiles align within and across cards.
   Applies to home, sales-page, customer-care, technical-support. */
.div-block-42 { align-items: stretch; }
.div-block-41 { display: flex; flex-direction: column; }
.div-block-41 .div-block-56 {
  margin-top: auto;
  padding-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 24px;
  grid-row-gap: 24px;
  align-items: stretch;
}
.div-block-41 .div-block-56 .green {
  height: 100%;
  box-sizing: border-box;
}
