.block-cta {
  width: 100%;
  height: 100%;
  display: block;
  flex-grow: 1;
  flex-shrink: 1;
  justify-content: center;
  margin-bottom: 24px;
}

.blue-cta {
  background-color: var(--acBlueShade);
  color: var(--white);
  background-repeat: no-repeat;
  background-size: cover;
}

.blue-cta h3 {
  color: var(--white);
  text-align: center;
  font-size: 28px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  margin-bottom: 16px;
}

.blue-cta p {
  color: var(--white);
  text-align: center;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  margin-bottom: 32px;
}

.grey-cta {
  background-color: var(--grey-06);
}

.grey-cta .btn.outline-text {
  background: transparent;
  border-radius: 30px;
  border: 1px solid var(--acBlueDark);
  color: var(--acBlueShade);
  font-family: "RocheSans-Medium", "Arial", "Arial Narrow";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  padding: 12px 32px;
}

.grey-cta .btn.outline-text:hover {
  background: none;
  border: 1px solid var(--acBlueNight);
}

.grey-cta h3 {
  color: var(--acNeutrals-Black);
  text-align: center;
  font-size: 28px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  margin-bottom: 16px;
}

.grey-cta p {
  color: var(--acBlueText);
  text-align: center;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  margin-bottom: 32px;
}

.blue-cta,
.grey-cta {
  flex-grow: 1;
  flex-shrink: 1;
  padding: 1rem 0.5rem;
  text-align: center;
  padding: 32px 20px;
  border-radius: 40px;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  margin: 0;
  max-width: 424px;
}

.blue-cta .outline-text {
  border: 1px solid var(--white);
  border-radius: 30px;
  background: var(--white);
  color: var(--acBlueText);
  font-family: "RocheSans-Medium", "Arial", "Arial Narrow";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  padding: 12px 32px;
  margin: 0;
}

.blue-cta .outline-text:hover,
.blue-cta .outline-text:active,
.blue-cta .outline-text:focus {
  border: 1px solid var(--white);
  background: var(--blue-02);
  color: var(--acBlueText);
}

.grey-cta .outline-text:active,
.grey-cta .outline-text:focus {
  box-shadow: 0px 0px 4px var(--white);
}

.block-cta div:nth-child(2) {
  margin-top: 15px;
}

.grey-cta h3,
.blue-cta h3 {
  flex-grow: 1;
}

.grey-cta p,
.blue-cta p {
  flex-grow: 10;
}

.grey-cta .btn,
.blue-cta .btn {
  margin: auto;
}

.align-self-end>.block-cta:first-child {
  justify-content: right;
}

.align-self-end>.block-cta:last-child {
  justify-content: center;
}

.block-cta:first-child + .block-cta:last-child {
  justify-content: left;
}

@media (min-width: 768px) {
  .block-cta {
    display: flex;
    margin-bottom: 0;
  }

  .block.block-cta {
    padding: 0 12px;
  }

  .block-cta:first-child {
    padding-left: 0;
  }

  .block-cta:last-child {
    padding-right: 0;
  }

  .layout-builder__layout .col-md-6:first-child .block-cta {
    padding-right: 12px;
    justify-content: right;
  }

  .layout-builder__layout .col-md-6:last-child .block-cta {
    padding-left: 12px;
    justify-content: left;
  }

  .block-cta div:nth-child(2) {
    margin-top: 0;
  }

  .blue-cta,
  .grey-cta {
    padding: 32px;
  }

  .grey-cta h3,
  .blue-cta h3 {
    font-size: 32px;
  }
}

@media (min-width: 992px) {

  .blue-cta,
  .grey-cta {
    padding: 48px;
  }

  .grey-cta h3,
  .blue-cta h3 {
    font-size: 40px;
  }
}
