[data-hook="grid-masonry"].custom-card-group{
  padding: 65px 0 105px;
  background: var(--color-grey-default)
}

[data-hook="grid-masonry"] .custom-card-group__title{
  font-size: 25px;
  font-weight: 500;
  margin-bottom: 35px;
  text-align: center;
}

[data-hook="grid-masonry"] .custom-cards{
  display: flex;
  flex-wrap: wrap;
}

[data-hook="grid-masonry"] .custom-card{
  display: grid;
  grid-template-columns: 1fr;
  width: calc( 42% - 15px);
}

[data-hook="grid-masonry"] .custom-card:not(:nth-of-type(1), :nth-of-type(2)){
  margin-top: 15px;
}

[data-hook="grid-masonry"] .custom-card>*{
  grid-area: 1/1;
}


[data-hook="grid-masonry"] .custom-card:nth-of-type(2n+1){
  margin-right: 15px;
}

[data-hook="grid-masonry"] .custom-card:nth-of-type(4n), [data-hook="grid-masonry"] .custom-card:nth-of-type(1), [data-hook="grid-masonry"] .custom-card:nth-of-type(4n+1){
  width: 58%
}

[data-hook="grid-masonry"] .custom-card__content{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 25px 40px;
  color: white;
  text-align: center;
}

[data-hook="grid-masonry"] .custom-card:nth-of-type(4n) .custom-card__content,
[data-hook="grid-masonry"] .custom-card:nth-of-type(1) .custom-card__content,
[data-hook="grid-masonry"] .custom-card:nth-of-type(4n+1) .custom-card__content{
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}

[data-hook="grid-masonry"] .custom-card__background,
[data-hook="grid-masonry"] .custom-card__img,
[data-hook="grid-masonry"] .custom-card__img img {
  border-radius: 5px;
  width: 100%;
  height: 100%;
}

[data-hook="grid-masonry"] .custom-card__img img{
  object-fit: cover;
}

[data-hook="grid-masonry"] .custom-card__buttons{
  color: white;
  padding: 1px 3px;
  line-height: 1;
  font-size: 16px;
  display: inline-block;
  position: relative;
}

[data-hook="grid-masonry"] .custom-card__buttons:after {
  display:block;
  content: '';
  height: 2px;
  background: white;
  position: absolute;
  left: 0;
  right: 0;
}

@keyframes borderBottom{
  0% {
    left: 0%;
    right: 0%;
  }
  50% {
    left: 100%;
    right: 0;
  }
  51%{
    left: 0;
    right: 100%;
  }
  100% {
    left: 0%;
    right: 0%;
  }
}

[data-hook="grid-masonry"] .custom-card__buttons:hover:after {
  animation: borderBottom 0.5s normal forwards ease-out;
}

[data-hook="grid-masonry"] .custom-card:nth-of-type(4n) .custom-card__buttons,
[data-hook="grid-masonry"] .custom-card:nth-of-type(1) .custom-card__buttons,
[data-hook="grid-masonry"] .custom-card:nth-of-type(4n+1) .custom-card__buttons{
  padding: 1px 1px;
  margin-left: -1px
}

[data-hook="grid-masonry"] .custom-card__title{
  font-size: 42px;
  display: inline-block;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.05;
  max-width: 350px;
  margin: 5px 0;
}

[data-hook="grid-masonry"] .custom-card__subtitle {
  font-size : 15px;
  display: block;
}

@media (max-width: 1199px) {
  [data-hook="grid-masonry"] .custom-card__content {
    padding : 25px 30px;
  }
  [data-hook="grid-masonry"] .custom-card__title {
    font-size : 36px;
  }
}

@media (max-width: 1023px){
  [data-hook="grid-masonry"] .custom-card__content {
    padding : 25px 20px;
  }
  [data-hook="grid-masonry"] .custom-card__title {
    font-size : 28px;
    max-width: 240px;
  }
}

@media (max-width: 767px){
  [data-hook="grid-masonry"] .custom-cards{
    flex-direction: column;
  }

  [data-hook="grid-masonry"] .custom-card{
    width: 100% !important;
    max-width: 420px;
    margin: auto !important;
  }
  [data-hook="grid-masonry"] .custom-card, [data-hook="grid-masonry"] .custom-card__background{
    height: 310px;
  }
  [data-hook="grid-masonry"] .custom-card:not(:nth-of-type(1)){
    margin-top: 15px!important;
  }
  [data-hook="grid-masonry"] .custom-card:nth-of-type(4n) .custom-card__content,
  [data-hook="grid-masonry"] .custom-card:nth-of-type(1) .custom-card__content,
  [data-hook="grid-masonry"] .custom-card:nth-of-type(4n+1) .custom-card__content{
    justify-content: space-between;
    align-items: center;
    text-align: center;
  }
}

/*BANNER*/
[data-hook="banner"].banner-custom{
  display: grid;
  grid-template-columns: 100%;
  border-radius: 5px;
  overflow: hidden;
  margin: 20px auto;
}

[data-hook="banner"].banner-custom>*{
  grid-area: 1/1;
  border-radius: 5px;
}

[data-hook="banner"] .banner-custom__img img{
  object-fit: cover;
  width: 100%;
  height: 100%;
}

[data-hook="banner"].banner-custom>*, [data-hook="banner"] .banner-custom__img{
  width: 100%;
  height: 460px;
}

[data-hook="banner"] .banner-custom__content{
  display: flex;
  align-items: center;
  padding: 10px 30px;
}

[data-hook="banner"] .banner-custom__cards{
  width: 430px;
  height: 360px;
  background: var(--banner-card-bg-color);
  padding: 35px;
  border-radius: 5px;
  z-index: 1;
}

[data-hook="banner"] .banner-custom__cards-container{
  position: relative;
  overflow: hidden;
  height: 100%;
  width: 100%;
}

[data-hook="banner"] .card-banner__content{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}

[data-hook="banner"] .card-banner__subtitle{
  font-size: 15px;
  margin-bottom: 5px;
  font-weight: 500;
  color: var(--banner-card-titles-color);
}

[data-hook="banner"] .card-banner__title{
  font-size: 48px;
  font-weight: 500;
  margin-bottom: 25px;
  color: var(--banner-card-titles-color);
  text-transform: uppercase;
  line-height: 1.1;
}

[data-hook="banner"] .card-banner__text{
  color: var(--banner-card-description-color);
  font-weight: 400;
  font-size: 14px;
  max-width: 310px;
  margin: 0 auto 10px auto;
}

[data-hook="banner"] .card-banner__button{
  min-width: 200px;
  margin: auto auto 45px auto;
  padding: 13px;
  font-size: 17px;
  background: var(--banner-card-button-bg-color);
  color: var(--banner-card-button-text-color);
}

[data-hook="banner"] .card-banner__button:hover{
  background: var(--banner-card-button-bg-hover-color)
}

[data-hook="banner"] .swiper-pagination{
  bottom: 0 !important;
}

[data-hook="banner"] .swiper-pagination-bullet{
  opacity: 0.3;
  background: var(--banner-dot-bg-color);
  width: 10px;
  height: 10px;
}

[data-hook="banner"] .swiper-pagination-bullet-active{
  background: var(--banner-dot-bg-color);
  opacity: 1;
}

[data-hook="banner"] .card-banner__content{
  background: var(--banner-card-bg-color);
}

[data-hook="banner"] .swiper-pagination-bullets{
  width: 100%;
}

[data-hook="banner"] .swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 0 4px;
}

@media (max-width: 1023px){
  [data-hook="banner"] .banner-custom__cards{
    width: 380px;
    height: 330px;
    padding: 25px 15px;
    z-index: 1;
  }
  [data-hook="banner"] .card-banner__title{
    font-size: 45px;
  }
}

@media (max-width: 767px){
  [data-hook="banner"].banner-custom{
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
    border-radius: 0;
  }
  [data-hook="banner"].banner-custom>*, [data-hook="banner"] .banner-custom__img{
    height: auto;
  }
  [data-hook="banner"] .banner-custom__content {
    justify-content: center;
    align-items: flex-end;
    padding: 25px;
  }
  [data-hook="banner"] .banner-custom__cards{
    width: 100%;
  }
  [data-hook="banner"] .card-banner__text{
    display: none;
  }
  [data-hook="banner"] .banner-custom__cards{
    height: 230px;
  }
}

@media (max-width: 449px){
  [data-hook="banner"] .banner-custom__content {
    padding: 15px;
  }
  [data-hook="banner"] .card-banner__title{
    font-size: 36px;
    margin-bottom: 15px;
  }
  [data-hook="banner"] .banner-custom__cards{
    padding: 10px;
    height: 190px;
  }
  [data-hook="banner"] .card-banner__button{
    padding: 10px;
    font-size: 15px;
    min-width: 170px;
  }
}

/*BULLETS CATEGORIES*/
[data-hook="bullets-categories"].bullets-categories{
  padding: 20px 0;
  background: var(--color-grey-default);
  overflow: hidden;
  position: relative;

}

[data-hook="bullets-categories"].bullets-categories:after {
  content:'';
  pointer-events: all;
  width: calc(((100% - var(--container-secondary-max-width)) / 2) + 20px);
  min-width: 50px;
  height:115px;
  position:absolute;
  right: 0;
  top:0;
  z-index: 1;
  background: -moz-linear-gradient(90deg, rgba(245,245,245,0) 0, rgba(245,245,245,1) 35px);
  background: -webkit-linear-gradient(90deg, rgba(245,245,245,0) 0, rgba(245,245,245,1) 35px);
  background: linear-gradient(90deg, rgba(245,245,245,0) 0, rgba(245,245,245,1) 35px);
}
[data-hook="bullets-categories"].bullets-categories:before{
  content:'';
  pointer-events: all;
  width: calc(((100% - var(--container-secondary-max-width)) / 2) + 10px);
  min-width: 25px;
  height:115px;
  position:absolute;
  left: 0;
  top:0;
  z-index: 2;
  background: -moz-linear-gradient(270deg, rgba(245,245,245,0) 0, rgba(245,245,245,1) 35px);
  background: -webkit-linear-gradient(270deg, rgba(245,245,245,0) 0, rgba(245,245,245,1) 35px);
  background: linear-gradient(270deg, rgba(245,245,245,0) 0, rgba(245,245,245,1) 35px);
}

[data-hook="bullets-categories"] .bullets-categories__content:not(.is-centered){
  cursor: grab;
}

[data-hook="bullets-categories"] .bullet-category{
  padding: 0 35px;
  width: auto;
}

[data-hook="bullets-categories"] .bullet-category:first-child{
  padding-left: 30px;
}

[data-hook="bullets-categories"] .bullet-category__content{
  display: flex;
  align-items: center;
  padding: 10px 15px;
  border-radius: 50px;
  transition: 0.2s ease;
}

[data-hook="bullets-categories"] .bullet-category__content:hover{
  background: white;
  box-shadow: 0 0 6px rgba(0,0,0,0.06);
}


[data-hook="bullets-categories"] .bullet-category:not(:last-child)::after{
  content: '';
  display: block;
  width: 1px;
  height: 38px;
  background: rgba(122,122,122,0.3);
  position: absolute;
  right: 0;
  top: 22px;
}

[data-hook="bullets-categories"] .bullet-category__title{
  font-size: 15px;
  font-weight: 400;
  color: var(--color-black-default);
  margin-left: 10px;
  white-space: pre-wrap
}



@media (min-width: 867px){
  [data-hook="bullets-categories"] .bullets-categories__content.is-centered .swiper-wrapper{
    justify-content: center;
  }
  [data-hook="bullets-categories"] .bullets-categories__content.is-centered.items-5 .swiper-wrapper{
    justify-content: flex-start;
  }
}

@media (min-width: 1200px){
  [data-hook="bullets-categories"] .bullets-categories__content.is-centered.items-5 .swiper-wrapper{
    justify-content: center;
  }
}

@media (max-width: 1199px){
  [data-hook="bullets-categories"] .bullet-category:first-child{
    padding-left: 35px;
  }
}

@media (max-width: 1023px){
  [data-hook="bullets-categories"] .bullet-category:not(:last-child)::after{
    content: none;
  }
  [data-hook="bullets-categories"] .bullet-category{
    padding-left: 0;
  }
  [data-hook="bullets-categories"] .bullet-category:first-child{
    padding-left: 10px;
  }
}

@media (max-width: 767px){
  [data-hook="bullets-categories"] .bullet-category{
    padding-right: 20px;
  }
  [data-hook="bullets-categories"] .bullet-category:first-child{
    padding-left: 0;
  }
  [data-hook="bullets-categories"] .bullet-category__title{
    font-size: 14px;
  }
}

@media (max-width: 449px){
  [data-hook="bullets-categories"] .bullet-category{
    padding-right: 0px;
  }
}

/*HIGHLIGHTED BANNER*/
[data-hook="highlighted-banner"].highlighted-banner{
  display: grid;
  grid-template-columns: 100%;
  height: 600px;
}

[data-hook="highlighted-banner"].highlighted-banner>*{
  grid-area: 1/1;
}

[data-hook="highlighted-banner"] .highlighted-banner__img{
  width: 100%;
  height: 100%;
}

[data-hook="highlighted-banner"] .highlighted-banner__img img{
  object-fit: cover;
  width: 100%;
  height: 100%;
}

[data-hook="highlighted-banner"] .highlighted-banner__container{
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

[data-hook="highlighted-banner"] .highlighted-banner__content{
  max-width: 320px;
}

[data-hook="highlighted-banner"] .highlighted-banner__subtitle{
  font-size: 15px;
  font-weight: 500;
  color: var(--highlighted-banner-subtitle-color);
  margin-bottom: 5px;
  display: block;
}

[data-hook="highlighted-banner"] .highlighted-banner__title{
  font-size: 42px;
  font-weight: 600;
  color: var(--highlighted-banner-title-color);
  margin-bottom: 25px;
  text-transform: uppercase;
  line-height: 1.1;
  display: block;
}

[data-hook="highlighted-banner"] .highlighted-banner__text{
  font-size: 16px;
  font-weight: 500;
  color: var(--highlighted-banner-description-color);
  margin-bottom: 25px;
}

[data-hook="highlighted-banner"] .highlighted-banner__button{
  font-size: 18px;
  padding: 12px 40px;
}

@media (max-width: 1023px){
  [data-hook="highlighted-banner"].highlighted-banner{
    height: 500px;
  }
  [data-hook="highlighted-banner"] .highlighted-banner__title{
    font-size: 36px;
  }
  [data-hook="highlighted-banner"] .highlighted-banner__content{
    max-width: 290px;
  }
}

@media (max-width: 767px){
  [data-hook="highlighted-banner"].highlighted-banner{
    height: 400px;
  }
  [data-hook="highlighted-banner"] .highlighted-banner__title{
    font-size: 30px;
  }
  [data-hook="highlighted-banner"] .highlighted-banner__content{
    max-width: 330px;
  }
  [data-hook="highlighted-banner"] .highlighted-banner__button{
    font-size: 16px;
  }
}

@media (max-width: 567px){
  [data-hook="highlighted-banner"].highlighted-banner{
    height: initial;
  }
  [data-hook="highlighted-banner"] .highlighted-banner__title{
    font-size: 42px;
  }
  [data-hook="highlighted-banner"] .highlighted-banner__content{
    max-width: 320px;
  }
  [data-hook="highlighted-banner"] .highlighted-banner__container{
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 75px;
  }
  [data-hook="highlighted-banner"] .highlighted-banner__button{
    font-size: 18px;
  }
}

@media (max-width: 449px){
  [data-hook="highlighted-banner"] .highlighted-banner__container{
    padding-bottom: 50px;
  }
  [data-hook="highlighted-banner"] .highlighted-banner__title{
    font-size: 36px;
  }
  [data-hook="highlighted-banner"] .highlighted-banner__text{
    font-size: 14px;
  }
}
