
.call-out-box__link {
  background-color: #fa2cde;
  padding: 0.5rem;
  display: inline-block;
  position: relative;
  margin: 1rem 0;
}

.call-out-box__link::after {
  content: '';
  position: absolute;
  right: -43px;
  top: 0;
  width: 0;
  height: 100%;
  border-left: 21px solid transparent;
  border-right: 21px solid transparent;
  border-top: 20px solid #fa2cde;
  clear: both;
  rotate: 270deg;
}

.call-out-box--no-image {
  display: flex;
  align-items: center;
  padding: var(--spacing-large);
}

.field--name-field-callout-box-icon img[src*="svg"] {
  /* SVG logos with no width/height attributes (only a viewBox) have no
     intrinsic size for the flex layout above to size against, so they
     collapse to 0x0. An explicit height lets the browser derive the width
     from the image's own aspect ratio instead. */
  height: 180px;
  width: auto;
  max-width: 100%;
}

.call-out-box--has-image {
  background-color: var(--color-accent);
  display: flex;
}

.call-out-box--has-image .call-out-box__wrapper {
  width: 50%;
}

.call-out-box__bg_image {
  width: 50%;
  background-size: cover;
  height: 100%;
}

/* 
.call-out-box--has-image .call-out-box__wrapper {
  display: flex;
} */

.call-out-box--has-image .field--name-field-callout-box-icon {
  margin: 1rem;
  display: inline-block;
}

@media screen and (min-width: 48rem) {
  .call-out-box--has-image .call-out-box__content {
    width: 75%;
    padding: 1rem !important;
    background: var(--call-out-box-bg-color);
    margin: 0;
  }

  .layout--onecol .call-out-box--has-image .call-out-box__content {
    margin: 0;
    text-align:left;
    padding: 0;
    width: auto;
  }
  .call-out-box--has-image .call-out-box__wrapper {
    width: 50%;
  }

  .call-out-box__bg_image {
    width: 50%;
    background-size: cover;
    height: 100%;
    background-position: 50% 50%;
  }
}