:root {
  --highlight: #fff;
}

.promoBlockContainer {
  margin-bottom: .75rem;
  container-name: promoBlock;
  container-type: inline-size;
}

.promoBlock {
  display: flex;
  gap: 2rem;
}

.promoBlock img {
  max-width: 40% !important;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: .4rem;
}

.promoBlockContent {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  padding-block: 1.5rem;
}

.promoBlockCtas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14.6rem, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.promoBlockCta {
  box-shadow: 0px 2px 5px #aaa;
  padding: 1rem;
  padding-top: calc(1rem + 2px);
  border-bottom: .3rem solid var(--highlight);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none !important;
  color: #234070 !important;
  font-size: 1.3rem;
  max-width: 20rem;
}

.promoBlockCta:hover,
.promoBlockCta:focus-visible {
  text-decoration: underline !important;
  text-decoration-thickness: 3px !important;
  background-color: #ddd;
}

.promoBlockCta svg {
  color: attr(highlight type(<color>));
}


@container promoBlock (width < 600px) {
  div.promoBlock {
    flex-direction: column !important;
    gap: .5rem;
  }

  .promoBlockContainer img {
    max-width: 100% !important;
    aspect-ratio: 2/1;
  }

  .promoBlockContent {
    padding-block: 1rem;
/*    padding-inline: 1rem;*/
  }
}