/**
 * CTA.
 */
.component-cta {
  position: relative;
  margin: 25px auto;
  padding: 0;
  max-width: 490px;
}
.component-cta__image {
  position: relative;

  img {
    display: block;
    max-width: 100%;
    height: auto;
  }
}
div.component-cta__link {
  position: unset;

  .field--type-link {
    position: unset;
  }

  a {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    font-size: 0;
    text-align: left;
    text-indent: -99999px;
    background: #fff;
    opacity: 0;
    z-index: 1;

    &:hover,
    &:focus {
      opacity: 0.15;
    }
  }
}
div.component-cta__link-text {
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  margin: 0;
  padding: 15px 15px;
  width: 100%;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.2;
  color: #fff !important;
  text-align: center;
  @include background-opacity(#000, 0.6);
  z-index: 0;

  @media (min-width: $screen-md-min) {
    font-size: 20px;
    font-weight: normal;
  }
}
.component-cta__body {
  margin: 0;
  padding: 20px 0 0 0;
  text-align: left;

  .field {
    > h1:first-child,
    > h2:first-child,
    > h3:first-child,
    > h4:first-child,
    > h5:first-child,
    > h6:first-child {
      margin-top: 0;
    }
  }
}
