//
// Copyright IBM Corp. 2016, 2023
//
// This source code is licensed under the Apache-2.0 license found in the
// LICENSE file in the root directory of this source tree.
//

@mixin callout-with-media {
  .#{$prefix}--callout-with-media {
    .#{$prefix}--callout__content {
      padding-block-start: 0;
    }

    .#{$prefix}--content-block {
      padding-block-end: $layout-05;

      &-simple__media-video {
        @include breakpoint-down(md) {
          margin-block-start: -16px;
        }

        margin-block-start: $spacing-07;
      }

      &-simple__media-image {
        @include breakpoint-down(md) {
          margin-block-start: 0;
        }

        margin-block-start: $spacing-09;
      }
    }

    .#{$prefix}--video-player__video-caption {
      padding-block-start: $spacing-03;
    }
  }
}
