.etapy-block .swiper {
  height: 640px;
}

.etapy-block .swiper-slide {
  position: relative;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  box-sizing: border-box;
  z-index: 1;
  max-width: 740px;
  flex-shrink: 0;
  border-right: #282828 solid 2px;
}


.etapy-block .swiper-slide:last-child {
  border-right: none !important;
}

.etapy-block .swiper-slide .etap-header,
.etapy-block .swiper-slide .etap-description {
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
  text-align: center;
}

.etap-description {
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  word-break: break-word;
  transition: all 0.5s ease;
}




.etap-description .btn {
  position: relative;
  display: inline-block;
  gap: 10px;
  align-items: center;
  background-color: var(--wp--preset--color--orange);
  color: #fff;
  font-family: var(--wp--preset--font-family--gilroy);
  font-size: var(--wp--preset--font-size--caption);
  line-height: inherit;
  padding: calc(0.8em + 2px) calc(1.1em + 2px);
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 6px;
  border: 2px solid var(--wp--preset--color--orange);
  transition: color 0.3s ease, background-color 0.3s ease;
}

.etap-description .btn:hover {
  background-color: rgba(255, 50, 0, 0.1);
  color: #ffffff;
  cursor: pointer;
  border: 2px solid #fff;
}

/* .etap-description .btn::before,
.etap-description .btn::after {
  content: "";
  display: block;
  position: absolute;
  width: 9px;
  height: 9px;
  background-repeat: no-repeat;
  background-size: contain;
  transition: background-color 0.3s ease, background-image 0.3s ease;
}

.etap-description .btn::before {
  bottom: 0;
  left: 0;
  transform: rotate(180deg) translate(calc(100% + 1px), calc(-100% - 1px));
  background-image: var(--svg-orange-decoration);
}

.etap-description .btn::after {
  top: 0;
  right: 0;
  transform: translate(calc(100% + 1px), calc(-100% + -1px));
  background-image: var(--svg-orange-decoration);
} */

.etap-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.etap-header img {
  max-height: 48px;
  width: auto;
  flex-shrink: 0;
}

.etap-header h2 {
  margin: 0;
  flex-shrink: 0;
}

/* the decorative layer */
.etapy-block .swiper-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  max-width: 98%;

  /* the gradient */
  background: #363636;

  /* mask the gradient to the shape of your SVG */
  mask-image: var(--svg-mask);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;


  /* Safari/WebKit */
  -webkit-mask-image: var(--svg-mask);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
	
	transition: all 0.5s ease-in-out;
}

@media (min-width: 1150px) {
	.swiper-wrapper .swiper-slide:hover .etap-description {
		max-height: 370px !important;
		overflow: visible;
		opacity: 1;
	}
	
	.Header-start_top {
		text-align: center;
	}
	
	.etapy-block .swiper-wrapper .swiper-slide:hover:before {
		background: #ff32004d;
	}
	.custom-nav {
		display: none!important;
	}
	
}

@media (max-width: 1150px) {
	.swiper-wrapper .swiper-slide.swiper-slide-active .etap-description {
	  max-height: 370px !important;
	  overflow: visible;
		opacity: 1;
	}
	.swiper-wrapper .swiper-slide.swiper-slide-active:before {
	  background: #ff32004d;
	}
	
	.Header-start_top {
		max-width: 60%;
	}
}


@media (max-width: 781px) {
  .Header-start {
    flex-direction: column !important;
    align-items: flex-start !important;
	gap: 16px!important;
  }
	
	.Header-start_top {
		max-width: 100%;
	}

  .Header-start_top {
    margin-bottom: 1rem;
  }

  .custom-nav {
    margin-top: 0.5rem;
    justify-content: space-between;
    width: 100%;
    padding-top: 5px;
  }
}

@media (max-width: 548px) {
	.etapy-block .swiper {
		height: 430px !important;
	  }
}

.Header-start {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  margin: 5px;
	gap: 48px;
}

.Header-start_top {
  flex: 1;
}

.Header-start_top h2 {
  margin: 0;
}

.custom-nav {
  display: flex;
    align-items: center;
    gap: 48px;
    justify-content: flex-start;
}

.etapy-block .swiper-button-prev,
.etapy-block .swiper-button-next {
  color: white;
  position: relative;
}