.slider-block {
  width: 100%; 
  height: 500px;
  overflow: hidden;   
  position: relative;
  display: flex;
  align-items: center; 
  background: #000000;
  padding-bottom: 1rem;
  box-sizing: border-box;
}
.slider-block .swiper.header-slider .swiper-wrapper,
.slider-block .swiper.header-slider {
  max-height: 500px;
  width: 100%;
  max-width: 95%;
  height: 100%;
}
.slider-block .swiper-wrapper .item {
  width: 100%;
  height: 100%;
  position: relative; 
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-block .swiper-wrapper .item .overlay { 
  width: 100%;
  height: 100%;
  background: #000000;
  opacity: 0.45;
  z-index: 5;
  position: absolute;
  left: 0;
  top: 0;
}
.slider-block .swiper-wrapper .item img {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  object-fit: cover;
}
.slider-block .swiper-wrapper .item .content {
  position: relative; 
  z-index: 10;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
 
.slider-block .swiper-wrapper .item .content h2{
  font-family: 'Vidaloka-Regular';
  text-align: center;
  font-size: 64px;
  line-height: 1.1;
  font-weight: 400;
  margin: 0;
  color: #ffffff;
  max-width: 800px;
}

@media only screen and (max-width: 768px) {
  .slider-block .swiper-wrapper .item .content h2 {
    font-size: 32px;
  }
}

.slider-block .swiper-wrapper .item .content p.overline{
  font-family: 'Lato-Regular', sans-serif;
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  line-height: 1.1;
  text-transform: uppercase;
  text-align: center;
}

@media only screen and (max-width: 768px) {
  .slider-block .swiper-wrapper .item .content p.overline {
    font-size: 14px;
    margin-bottom: 20px;
  }
}

.slider-block .swiper-wrapper .item .content a.cta-button {
  text-align: center;
  background-color: transparent; 
  font-family: 'Lato-Regular', sans-serif; 
  padding-top: 16px;
  padding-left: 36px;
  padding-right: 36px;
  padding-bottom: 16px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 5px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  border-top-width: 2px;
  border-right-width: 2px;
  border-bottom-width: 2px;
  border-left-width: 2px;
  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;  
  transition-duration: 0.2s;
  transition-timing-function: ease;
  transition-property: all;  
  color: #ffffff;
  border-top-color: #ffffff;
  border-right-color: #ffffff;
  border-bottom-color: #ffffff;
  border-left-color: #ffffff;
  margin-top: 24px;
  border-radius: 0;
}

.slider-block .swiper-wrapper .item .content a.cta-button:hover {
  border-top-color: #95949e;
  border-right-color: #95949e;
  border-bottom-color: #95949e;
  border-left-color: #95949e;
  background-color: #95949e;
  background: #95949e;
  color: #000000;
}

@media only screen and (max-width: 768px) {
  .slider-block {
    height: 85vh;
  } 
  .slider-block { 
    height: 85vh; 
  }
  .slider-block .swiper.header-slider .swiper-wrapper,
  .slider-block .swiper.header-slider {
    max-height: 85vh; 
    height: 85vh;
  }
  .slider-block .swiper-wrapper .item .content {
    padding: 2rem;
    box-sizing: border-box ;
  }
}


/* EDITOR */
.block-editor-block-list__block .slider-block {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  margin-top: 0px;
  padding: 0;
}

.block-editor-block-list__block .slider-block .swiper.header-slider,
.block-editor-block-list__block .slider-block .swiper.header-slider .swiper-wrapper {
  max-width: 100%;
}
 