@import "../../../../basic_imports";
@import "../../../../_legacy_snow";
@import "../../../../legacy_components";


//H1 home
.seo-title {
  font-size: 20px;
  font-weight: 700;
  margin: 30px 0 5px;
  @media (min-width: $screen-sm-min) {
    font-size: 24px;
  }
}
h1.seo-title {
  text-transform: none;
  @media (min-width: $screen-sm-min) {
    margin: 45px 0 5px;
  }
  &.seo-main-title {
    font-size: 20px;
    text-align: left;
    margin-bottom: 40px;
    @media (min-width: $screen-sm-min) {
      font-size: 28px;
      margin-bottom: 50px;
    }
  }
}

.seo-subtitle {
  font-size: 16px;
  margin: 0 0 15px;
  @media (min-width: $screen-sm-min) {
    margin: 0 0 20px;
  }
}
.seoText__container {
  p {
    font-size: 16px;
  }
  ul {
    padding: 0 0 0 20px;
    list-style-type: disc;
    li {
      font-size: 16px;
      margin-bottom: 1em;
    }
  }
}
.seoText {
  background: #FFFFFF;
  padding: 60px 0;
  position: relative;
  @media (min-width: $grid-float-breakpoint) and (max-width: $screen-sm-max) {
    padding: 40px 0;
  }
  @media (max-width: $grid-float-breakpoint-max) {
    padding: 30px 0;
  }
  &--transparent {
    background: transparent;
  }
  &__title {
    margin-top: 0;
    margin-bottom: 15px;
  }
  &__list {
    list-style: initial;
    margin: 0 15px;
    padding: 0 15px;
  }
  &__listItem {
    padding: 10px;
  }
  &__twoColumn {
    column-count: 2;
    column-gap: 30px;
    @media (max-width: $screen-xs-max) {
      column-count: 1;
    }
  }
  &__banner {
    text-align: center;
    margin: 30px 8px 0;
  }
  &__bannerTablet {
    margin: 25px 0 0;
    text-align: center;
  }
  &__avatar {
    width: 40px;
    height: 40px;
    border: 1px solid $brand-primary;
    border-radius: 50%;
    margin-right: 10px;
    &--noImg {
      background: $brand-copy-light;
      overflow: hidden;
      display: flex;
      justify-content: center;
      align-items: center;
      svg, svg * {
        width: 30px;
        height: 30px;
        fill: #4f4946;
      }
    }
  }
  &__seal {
    display: flex;
    color: $brand-copy-light;
  }
  @media (min-width: $screen-md-max) {
    &--bgPhoto {
      background: none;
      &:after {
        content: "";
        background: url('');
        background-size: cover;
        opacity: 0.1;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        position: absolute;
        z-index: -1;
        filter: grayscale(1);
      }
    }
  }
  &--small {
    padding: 40px 25px;
    .seoText__title {
      margin: 0;
    }
  }
}
@media (max-width: 320px) {
  .seoText__banner {
    margin: 30px -5px;
  }
}

@media (min-width: $grid-float-breakpoint) {
  .seoText {
    &__container {
      display: flex;
    }
    &__banner {
      flex: 0 0 300px;
      padding: 0 0 0 30px;
      margin: 0 0 0 auto;
      @media (max-width: $screen-md-max) {
        margin: 0 0 0 15px;
      }
    }
  }
}

.seoText {
  h2, .h2, h3, .h3 {
    font-size: 20px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 12px;
    @media (min-width: $screen-sm-min) {
      font-size: 24px;
    }
    strong {
      font-weight: 700;
    }
  }
}
.seoText--small .seoText__title {
  margin-bottom: 15px;
}
.dst-ctnr-showmore {
  overflow: hidden;
  position: relative;
  max-height: none;
}

.viewMore {
  max-height: 350px;
  + .viewMore__btn {
    position: relative;
    &:before {
      content: "";
      background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), #FFFFFF);
      display: block;
      height: 50px;
      position: absolute;
      top: -50px;
      width: 100%;
      z-index: 10;
    }
  }
  &__link {
    padding: 10px 0;
    display: block;
  }
}

.block-viewmore {
  max-height: 900px;
  overflow: hidden;
  position: relative;
  &--collapsed {
    max-height: 300px;
    &:after {
      background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff);
      display: block;
      content: "";
      height: 20px;
      position: absolute;
      bottom: 0;
      width: 100%;
      z-index: 10;
    }
  }
  &--js-not-applied {
    @media (max-width: 767px) {
      max-height: 141px;
      overflow: scroll;
    }
  }
}
.block-viewmore-options {
  margin-top: 20px;
}
