.hero {
  position: relative;
}
.hero__wrapper {
  position: relative;
  z-index: 2;
}
.hero__content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  width: 100%;
  pointer-events: none;
  z-index: 2;
}
.hero__content .grid-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero__title {
  user-select: none;
  max-width: 687px;
}
.hero__title h1 {
  color: var(--color-white);
  font-size: 36px;
  line-height: 130%;
  font-weight: 800;
  margin: 0;
}
.hero__image{
  position: relative;
}
.hero:not(.hero--homepage) .hero__image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 1;
  pointer-events: none;
}
.hero--homepage .hero__image article::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 1;
  pointer-events: none;
}
.hero__image img {
  height: 600px;
  width: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__content .cta {
  pointer-events: all;
}
.hero__tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hero__tag,
.cct__tag {
  padding: 10px;
  color: var(--color-white);
  border: 1px solid var(--color-white);
  font-size: 14px;
  font-weight: 400;
  line-height: 100%;
  border-radius: 5px;
}
@media all and (min-width: 1000px){
  .hero {
    max-width: 1840px;
    margin: 0 auto;
    padding: 0 40px;
  }
  .hero__image article {
    border-radius: 40px;
    overflow: hidden;
  }
  .hero__wrapper {
    border-radius: 40px;
    overflow: hidden;
  }
  .hero__title h1 {
    font-size: 48px;
  }
}
@media all and (min-width: 1200px){
  .hero__image img {
    height: 788px;
  }
  .hero__title h1 {
    font-size: 64px;
  }
}


/**
 * Hero homepage
 */

.hero--homepage {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hero__pushes {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
  padding: 0 16px;
  width: 100%;
}
.hero__push {
  background-color: var(--color-primary--1);
  color: var(--color-white);
  padding: 24px 32px;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  min-width: 150px;
  gap: 24px;
  transition: ease all 150ms;
}
.hero__push::before  {
  content: '';
  display: block;
  width: 25px;
  height: 25px;
  background-image: url('../../images/header/arrow--right-white.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}
.hero__push:hover {
  text-decoration: none;
  background-color: var(--color-primary--2);
}
@media all and (min-width: 1000px){
  .hero--homepage {
    margin-bottom: 70px;
  }
  .hero__pushes {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -70px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1165px;
    gap: 16px;
    z-index: 3;
    padding: 0;
    margin: auto;
    width: 90%;
  }
  .hero__push {
    padding: 48px;
    font-size: 24px;
    font-weight: 700;
    line-height: normal;
  }
}


/**
 * Slider
 */

.hero--homepage .swiper-button-next {
  right: 16px;
  bottom: 16px;
  left: unset;
  top: unset;
  transform: none;
}
.hero--homepage .swiper-button-prev {
  right: 92px;
  bottom: 16px;
  left: unset;
  top: unset;
  transform: none;
}
.hero--homepage .swiper-button-next,
.hero--homepage .swiper-button-prev {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--color-primary--1);
  transition: ease all 150ms;
}
.hero--homepage .swiper-button-prev:after,
.hero--homepage .swiper-button-next:after {
  content: "";
  width: 18px;
  height: 18px;
  display: block;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.hero--homepage .swiper-button-prev:hover,
.hero--homepage .swiper-button-next:hover {
  background-color: var(--color-primary--2);
}
.hero--homepage .swiper-button-prev:after {
  background-image: url('../../images/header/arrow--left-white.svg');
}
.hero--homepage .swiper-button-next:after {
  background-image: url('../../images/header/arrow--right-white.svg');
}

@media all and (min-width: 1000px){
  .hero--homepage .swiper-button-next,
  .hero--homepage .swiper-button-prev  {
    top: 50%;
    transform: translateY(-50%);
  }
  .hero--homepage .swiper-button-next {
    right: 16px;
    left: unset;
  }
  .hero--homepage .swiper-button-prev {
    left: 16px;
    right: unset;
  }

}
@media all and (min-width: 1200px){
  .hero--homepage .swiper-button-next {
    right: 62px;
  }
  .hero--homepage .swiper-button-prev {
    left: 62px;
  }
}
