/* Shared content rows keep the customer choices aligned as their copy wraps. */
.home-audiences .audience-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: auto;
  column-gap: clamp(22px, 3vw, 40px);
  row-gap: 14px;
  align-items: stretch;
}

.home-audiences .audience-options > a {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  min-width: 0;
  padding-block: 22px 0;
  align-content: start;
}

.home-audiences .audience-options h3 {
  min-width: 0;
  min-height: 2.5em;
  margin: 0;
  line-height: 1.25;
  text-wrap: balance;
}

.home-audiences .audience-options h3 br {
  display: none;
}

.home-audiences .audience-options p {
  min-width: 0;
  min-height: 5.25em;
  margin: 0;
  align-self: start;
}

.home-audiences .audience-options > a > span {
  min-width: 0;
  min-height: 44px;
  margin-top: 0;
  padding-top: 8px;
  line-height: 1.5;
  align-items: flex-start;
  align-self: start;
}

.home-audiences .audience-options > a > span svg {
  margin-top: 1px;
}

.home-audiences .audience-options > a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 7px;
  border-radius: 2px;
}

/* Let the tallest heading and description define each row without fixed heights. */
@supports (grid-template-rows: subgrid) {
  .home-audiences .audience-options {
    grid-template-rows: auto auto minmax(44px, auto);
  }

  .home-audiences .audience-options > a {
    grid-row: span 3;
    grid-template-rows: subgrid;
  }

  .home-audiences .audience-options h3,
  .home-audiences .audience-options p {
    min-height: 0;
  }
}

/* A full-width list gives smaller screens room to read and tap each choice. */
@media (max-width: 700px) {
  .home-audiences .audience-options {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    gap: 0;
    margin-top: 24px;
  }

  .home-audiences .audience-options > a {
    grid-row: auto;
    grid-template-rows: auto auto auto;
    gap: 10px;
    padding-block: 22px 20px;
  }

  .home-audiences .audience-options h3 {
    min-height: 0;
    font-size: 24px;
    text-wrap: pretty;
  }

  .home-audiences .audience-options p {
    min-height: 0;
    max-width: 46ch;
    font-size: 15px;
    line-height: 1.7;
  }

  .home-audiences .audience-options > a > span {
    min-height: 44px;
    padding-top: 7px;
  }
}
