/* @import "../specs-into/specs-into.css"; */
@import "./specs-info.css";

.specs {
  position: relative;
  overflow: hidden;
}

.specs__sliders,
.specs__slider {
  position: relative;
}

.specs__slider .flickity-viewport {
  transition: height 500ms;
}

.specs__slide {
  width: 100vw;
}

.specs__slide .contextual-region > h2 {
  display: none;
}

.specs__slide-wrapper {
  display: grid;
  overflow: hidden;
  width: 100%;
}

.specs__sliders-title-container {
  position: relative;
  width: 100%;
  padding: 60px 12px 41px;
  display: flex;
  justify-content: flex-end;
  z-index: 10;
}

.specs__sliders-title {
  color: var(--brand-color-blue);
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: -0.36px;
  margin: 0;
  text-transform: uppercase;
}

.specs__sliders-title::after {
  content: '';
  display: flex;
  height: 15px;
  margin-left: 10px;
  border-right: 3px solid var(--brand-color-yellow);
}

.specs__link-wrapper {
  display: flex;
  position: absolute;
  left: 12px;
  margin-top: 30px;
  z-index: 5;
  transition: 0.3s top cubic-bezier(0.61, 1, 0.88, 1);
}

.specs__link {
  align-items: center;
  background: linear-gradient(101deg, #8D5FFF 5.16%, #553999 115.5%);
  border-radius: 100px;
  color: var(--light-color);
  display: flex;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.75px;
  line-height: 28px;
  padding: 10px 60px 10px 26px;
  position: relative;
  text-decoration: none;
}

.specs__link::after {
  align-items: center;
  background: var(--brand-color-yellow) no-repeat center center;
  background-image: url(/themes/custom/grwpo/images/dark-arrow.svg);
  background-size: 11px;
  border-radius: 50%;
  content: "";
  height: 35px;
  position: absolute;
  right: 8px;
  width: 35px;
}

.specs-slide__pagination-container {
  position: absolute;
  bottom: 116px;
  width: 100%;
  padding: 0 16px;
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  z-index: 10;
}

.specs__arrows {
  display: flex;
  gap: 19px;
  align-items: center;
  pointer-events: all;
  cursor: pointer;
}

.specs__arrows .specs-slide__pagination-current,
.specs__arrows .specs-slide__pagination-total {
  font-size: 18px;
  font-weight: 400;
  line-height: 61px;
  letter-spacing: -0.9px;
}

.specs__arrow--prev::after,
.specs__arrow--next::after {
  align-items: center;
  justify-content: center;
  display: flex;
  font-family: "Font Awesome\ 5 Free";
  font-weight: 600;
  width: 24px;
}

.specs__arrow--prev::after {
  content: "\f104";
  order: -1;
}

.specs__arrow--next::after {
  content: "\f105";
}
.specs__arrows.specs__arrow--next::after,
.specs__arrows .specs-slide__pagination-total {
  color: var(--brand-color-blue);
  opacity: 1;
}
/* .specs__arrows:hover::after,
.specs__arrows:hover .specs-slide__pagination-current, .specs__arrows:hover .specs-slide__pagination-total {
  color: var(--brand-color-blue);
  opacity: 1;
} */

@media only screen and (min-width: 768px) {
  .specs__slide {
    height: 950px;
    /* flex-direction: row; */
    /* flex-wrap: wrap; */
  }
  .specs__sliders-title-container {
    position: absolute;
    top: 0;
    right: 0;
    background-color: transparent;
    height: auto;
    width: auto;
    padding: 0;
    justify-content: flex-start;
    margin: 70px 60px 0;
  }
  .specs__link-wrapper {
    top: initial;
    bottom: 150px;
    left: 50px;
    margin-top: 0;
    transition: none;
  }
  .specs-slide__pagination-container {
    bottom: 150px;
    right: 50px;
    width: auto;
    padding: 0;
    justify-content: flex-end;
  }
}

@media only screen and (min-width: 1024px) {
  .specs__slide {
    height: 832px;
  }
  .specs__slide-wrapper {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    gap: 0 38px;
  }
  .specs__slider .flickity-viewport {
    transition: none;
  }
  .specs__sliders-title-container {
    position: relative;
    margin: 60px 100px 55px;
    justify-content: flex-end;
  }
  .specs__link-wrapper {
    bottom: 144px;
    left: 107px;
  }
  .specs-slide__pagination-container {
    bottom: 144px;
    right: 100px;
  }
}

@media only screen and (min-width: 1366px) {
  .specs__slide-wrapper {
    grid-template-columns: repeat(2, calc(50% - 56px));
    gap: 0 112px;
  }
  .specs__sliders-title-container {
    margin: 60px 136px 39px;
  }
  .specs__sliders-title {
    font-size: 20px;
    letter-spacing: -0.4px;
  }
  .specs__link-wrapper {
    bottom: 122px;
    left: 136px;
  }
  .specs-slide__pagination-container {
    bottom: 110px;
    right: 129px;
  }
}

@media only screen and (min-width: 1920px) {
  .specs__slide {
    height: 1080px;
  }
  .specs__sliders-title-container {
    margin: 60px 182px 36px;
  }
  .specs__sliders-title {
    font-size: 24px;
    letter-spacing: -0.7px;
  }
  .specs__link-wrapper {
    bottom: 130px;
    left: 178px;
  }
  .specs-slide__pagination-container {
    bottom: 124px;
    right: 182px;
  }
}
