<commit_before>@mixin default-slider-styles {
  position: relative;
  margin: 0 auto;

  .frame {
    position: relative;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
    white-space: nowrap;
  }

  .slides {
    display: inline-block;
  }

  .slide {
    position: relative;
    display: inline-block;
  }
}

%default-slider-styles {
  @include default-slider-styles;
}

.c-slider {

  &[data-slider-type="card"] {

    @media screen and (max-width: $screen-m) {

      @include default-slider-styles;

      .slide {
        width: rem(270px);
        margin-right: rem(20px);
        vertical-align: top;

        &:last-child {
          margin-right: 0;
        }
      }
    }
  }

  &[data-slider-type="related-media"] {

    @extend %default-slider-styles;
    padding: rem(15px) 0 rem(32px) 0;

    .frame {
      overflow: visible;
    }

    .slides {
      width: 100%;
    }

    .slide {
      width: calc(100% + #{rem(20px)});<commit_msg>Slider frame always visible<commit_after>@mixin default-slider-styles {
  position: relative;
  margin: 0 auto;

  .frame {
    position: relative;
    font-size: 0;
    line-height: 0;
    white-space: nowrap;
  }

  .slides {
    display: inline-block;
  }

  .slide {
    position: relative;
    display: inline-block;
  }
}

%default-slider-styles {
  @include default-slider-styles;
}

.c-slider {

  &[data-slider-type="card"] {

    @media screen and (max-width: $screen-m) {

      @include default-slider-styles;

      .slide {
        width: rem(270px);
        margin-right: rem(20px);
        vertical-align: top;

        &:last-child {
          margin-right: 0;
        }
      }
    }
  }

  &[data-slider-type="related-media"] {

    @extend %default-slider-styles;
    padding: rem(15px) 0 rem(32px) 0;

    .slides {
      width: 100%;
    }

    .slide {
      width: calc(100% + #{rem(20px)});
{'fraction_non_alphanumeric': 0.15029208709506106, 'fraction_numerical': 0.024429102496016993, 'mean_word_length': 2.0634146341463415, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4035541', 'n_tokens_mistral': 717, 'n_tokens_neox': 660, 'n_words': 129}