/* Custom overrides for Core Values / Our Mission / Our Vision cards */

/* Reduce extra top/bottom spacing inside the two-column grid */
.section.is-inverse .ix_sticky-card .grid_2-col.tablet-1-col.gap-xxlarge {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
}

/* Remove fixed aspect ratio to let content define a shorter height */
.section.is-inverse .ix_sticky-card .ratio_3x2 {
  aspect-ratio: auto;
}

/* Tighten card padding (top/bottom and sides) */
.section.is-inverse .ix_sticky-card .card_body {
  padding: 0.75rem;
}

@media (min-width: 992px) {
  .section.is-inverse .ix_sticky-card .card_body {
    padding: 1rem;
  }
}

/* Reduce image overflow spacing above/below the image */
.section.is-inverse .ix_sticky-card .image_cover.image_cover_stack_card {
  /* Remove extra space around the image */
  margin-top: 0;
  margin-bottom: 8px;
  /* Constrain the image height and let width drive scale */
  height: auto;
  max-height: clamp(120px, 17vh, 170px);
  width: 100%;
  object-fit: cover;
}

/* Reduce vertical gap between stacked cards */
.section.is-inverse .ix_sticky-card .margin-top_large {
  margin-top: 0.5rem;
}

/* Tighten gaps in the 2-col grid for these cards */
.section.is-inverse .ix_sticky-card .grid_2-col.gap-xxlarge {
  grid-column-gap: 1rem;
  grid-row-gap: 0.75rem;
}

/* Narrow the image column so the visual takes less space overall */
.section.is-inverse .ix_sticky-card .grid_2-col {
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  align-items: start;
}

/* Reduce internal vertical rhythm inside the header area */
.section.is-inverse .ix_sticky-card .header {
  margin-bottom: 0.75rem;
  gap: 0.25rem;
}
.section.is-inverse .ix_sticky-card .header .eyebrow {
  margin-bottom: 0.25rem;
}
.section.is-inverse .ix_sticky-card .header h2 {
  margin-bottom: 0.25rem;
}
.section.is-inverse .ix_sticky-card .header .subheading {
  margin-bottom: 0.5rem;
}

/* Slightly reduce paragraph scale to save vertical space */
.section.is-inverse .ix_sticky-card .subheading {
  font-size: clamp(0.95rem, 1.9vw, 1rem);
  line-height: 1.4;
}
