@use "./utilities.scss";

.banner-breadcrumb {
  margin-bottom: 1.5rem;
  .c-breadcrumb {
    &__item,
    &__link,
    &__link:hover {
      color: #fff;
    }
  }
}

.banner-simple {
  min-height: 300px;
  position: relative;
  padding-top: 4rem;
  padding-bottom: 4rem;
  &::after {
    position: absolute;
    content: "";
    left: 0%;
    top: 0%;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-blend-mode: multiply;
    background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0),
      rgba(3, 46, 87, 0.5) -50%
    );
  }
}

.banner-withSlider {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  &__content,
  &__slider .bannerSlider .swiper-slide {
    min-height: 620px;
  }
  .contantLink {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    .link,
    .link:hover {
      @extend %openSans-font;
      font-size: 30px;
      font-weight: 800;
      line-height: 1.17;
      color: #fff;
    }
  }
  &__content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    position: relative;
    &::after {
      position: absolute;
      content: "";
      left: 0%;
      top: 0%;
      width: 100%;
      height: 100%;
      background-blend-mode: multiply;
      background-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0),
        rgba(3, 46, 87, 0.5) 20%
      );
      z-index: 1;
    }

    &--body {
      position: relative;
      z-index: 2;
      .title,
      .subtitle {
        @extend %openSans-font;
        font-weight: 800;
        color: #fff;
      }
      .title {
        font-size: 40px;
        line-height: 1.25;
        p {
          margin: 0;
        }
      }
      .subtitle {
        font-size: 20px;
        line-height: 2.5;
        letter-spacing: 1.6px;
      }
    }

    &--img {
      z-index: 1;
    }
  }
  &__slider {
    .bannerSlider {
      .swiper-pagination-bullets {
        bottom: 4%;

        .swiper-pagination-bullet {
          width: 14px;
          height: 14px;
          background: #e4e2e2;
          opacity: 1;
          &-active {
            background: #0090d7;
          }
        }
      }
      .swiper-slide {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        flex-direction: column;
        position: relative;
        &::after {
          content: "";
          position: absolute;
          background-blend-mode: multiply;
          background-image: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0),
            rgba(3, 46, 87, 0.5)
          );
          left: 0%;
          top: 0%;
          width: 100%;
          height: 100%;
        }
        .body {
          position: relative;
          z-index: 2;
          top: -5rem;
          .body-link {
            &:active {
              border: 0px !important;
            }
            text-align: start;
            @extend %openSans-font;
            font-size: 30px;
            font-weight: 800;
            line-height: 1.17;
            color: #fff;
          }
        }
      }
    }
  }
}
