/* Skipped (covered by shared chunk CSS): ../../sub-components/Media/styles.css */
/* Skipped (covered by shared chunk CSS): ../../sub-components/Button/styles.css */
/* Skipped (covered by shared chunk CSS): ../../sub-components/Icon/styles.css */

/* ColumnItem (spec H9): icon or image, then h4 heading, body-100 rich text, underlined "More" link.
   Layout-dependent values (image ratio, alignment, stats typography) come from MultiColumn. */
.cc_ha5dwmyj_JDsVGiwH43 .column-item {
  display: flex;
  flex-direction: column;
  align-items: var(--column-align, flex-start);
  text-align: var(--column-text-align, left);
  min-width: 0;
  height: 100%;
  color: var(--c-text);
}

/* ---------- Media ---------- */

.cc_ha5dwmyj_JDsVGiwH43 .column-item__media {
  align-self: stretch;
  margin-bottom: var(--sp-250);
  border-radius: var(--radius-image);
  overflow: hidden;
  /* Keeps the radius clipping the blur/scale reveal in Safari. */
  isolation: isolate;
}

/* Ratio box driven by the parent's `imageRatio` (inherited vars). "adapt" switches the
   image back to normal flow (position static, aspect-ratio auto). */
.cc_ha5dwmyj_JDsVGiwH43 .column-item__media .media {
  aspect-ratio: var(--column-image-ratio, 1 / 1);
  border-radius: inherit;
}

.cc_ha5dwmyj_JDsVGiwH43 .column-item__media .media > img, .cc_ha5dwmyj_JDsVGiwH43 .column-item__media .media > picture {
  position: var(--column-image-position, absolute);
  inset: 0;
  height: 100%;
}

.cc_ha5dwmyj_JDsVGiwH43 .column-item__icon {
  display: inline-flex;
  flex: none;
  width: 36px;
  height: 36px;
  margin-bottom: var(--sp-200);
  color: var(--c-heading);
}

.cc_ha5dwmyj_JDsVGiwH43 .column-item__icon svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* ---------- Content ---------- */

/* Grows to the column's height (the grid stretches every column to the tallest in its row),
   so the link below can sit on the same line in every column whatever the text length. */
.cc_ha5dwmyj_JDsVGiwH43 .column-item__content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: inherit;
  min-width: 0;
  max-width: 100%;
}

.cc_ha5dwmyj_JDsVGiwH43 .column-item__heading {
  margin: 0;
  color: var(--c-heading);
  overflow-wrap: anywhere;
  text-wrap: balance;
}

/* 38ch keeps lines readable when a column gets wide (1-2 columns, big screens). */
.cc_ha5dwmyj_JDsVGiwH43 .column-item__text {
  max-width: 38ch;
  margin: 0;
  color: var(--c-text);
  overflow-wrap: break-word;
  text-wrap: pretty;
}

.cc_ha5dwmyj_JDsVGiwH43 .column-item__heading + .column-item__text {
  margin-top: var(--gap-heading);
}

/* margin-top: auto pins the link to the bottom; the padding keeps the gap when text is tallest. */
.cc_ha5dwmyj_JDsVGiwH43 .column-item__link {
  margin-top: auto;
  padding-top: var(--gap-text);
}

/* Text links have no padding: widen the hit area without moving anything. */
.cc_ha5dwmyj_JDsVGiwH43 .column-item__link .btn::before {
  content: "";
  position: absolute;
  inset: -10px -6px;
}

@media (min-width: 1024px) {
  .cc_ha5dwmyj_JDsVGiwH43 .column-item__icon {
    width: 44px;
    height: 44px;
  }
}
