.content-object-container {
  margin-bottom: 1px;
  padding-bottom: $margin-normal;

  @include breakpoint(md) {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -#{$margin-normal};
  }
}

.tui-card.content-object {
  justify-content: flex-start;
  background: $color-beige-200;
  border-radius: 0;
  box-shadow: none;
  position: relative;
  width: 100%;
  overflow: visible;

  &:hover {
    box-shadow: none;
    cursor: default;
  }

  &:not(:last-child) {
    margin: 0 0 $margin-double;
  }

  .cutout {
    z-index: 1;
  }

  .media-container {
    background: inherit;
    border-radius: $border-radius-normal;
    margin-bottom: $margin-normal;
  }

  .text-area {
    p:last-child {
      margin-bottom: 0;
    }
  }

  @include breakpoint(sm) {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;

    &:last-child {
      margin: 0 0 $margin-normal;
    }

    .media-container {
      margin: 0;
    }

    .cutout {
      left: 25%;
    }

    > div {
      width: calc(50% - #{$margin-normal});
    }
  }

  @include breakpoint(md) {
    flex-direction: column;
    justify-content: flex-start;
    width: calc(#{percentage(1 / 3)} - #{$margin-triple});

    &:last-child,
    &:not(:last-child) {
      margin: 0 $margin-enterprise $margin-triple;
    }

    .media-container {
      margin-bottom: $margin-normal;
    }

    .cutout {
      left: 50%;
    }

    > div {
      width: auto;
    }
  }
}
