<commit_before>/* Container Templates

*** home page
**  Hero video
*/

.hero--video {

  a {
    &:hover {
      h2, h3, h4 {
        color: $white;
      }
    }
  }

  figure {
    position: relative;
    overflow: hidden;
    max-height: 500px;

    img {
      object-fit: contain;
    }

    figcaption {
      position: absolute;
      padding: 1.5rem;
      background-color: $green-brand;

      h2, h3, h4 {
        margin-bottom: 0;
        color: $white;
        text-decoration: none;
      }
      //default position
      &.bottom-right {
        right: 0;
        bottom: 0;
      }

      &.bottom-left {
        bottom: 0;
        left: 0;
      }
      &.top-right {
        top: 0;
        right: 0;
        margin-top: 0;
      }
      &.top-left {
        top: 0;
        left: 0;
        margin-top: 0;
      }

    }
  }

}<commit_msg>Responsive improvements<commit_after>/* Container Templates

*** home page
**  Hero video
*/

.hero--video {

  a {
    &:hover {
      h2, h3, h4 {
        color: $white;
      }
    }
  }

  figure {
    position: relative;
    overflow: hidden;
    max-height: 500px;

    img {
      margin-bottom: 0;
      object-fit: contain;
    }

    figcaption {
      position: absolute;
      padding: 1.5rem;
      background-color: $green-brand;

      h2, h3, h4 {
        margin-bottom: 0;
        color: $white;
        text-decoration: none;
      }
      //default position
      &.bottom-right {
        right: 0;
        bottom: 0;
      }

      &.bottom-left {
        bottom: 0;
        left: 0;
      }
      &.top-right {
        top: 0;
        right: 0;
        margin-top: 0;
      }
      &.top-left {
        top: 0;
        left: 0;
        margin-top: 0;
      }

    }

    @include breakpoint($until: tablet) {


      figcaption {
        position: relative;
        margin-top: 0 !important;
        padding: 1rem;
      }
    }
  }

}
{'fraction_non_alphanumeric': 0.12845953002610966, 'fraction_numerical': 0.02454308093994778, 'mean_word_length': 1.2647754137115839, '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': '2895479', 'n_tokens_mistral': 706, 'n_tokens_neox': 654, 'n_words': 148}