.blockHero {
	position:relative;
}

.swiper-wrapper-container {
  position: relative;
}

.swiper-wrapper-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.6), rgba(0,0,0,0.1)); 
  z-index: 2;
  pointer-events: none;
}

.swiper {
  position: relative;
  overflow:hidden;
}

.swiper-slide > * {
  position: relative;
  z-index: 20;
}

.mySwiper {
    width: 100%;
    aspect-ratio:16 / 9;
	height: 580px;
	border-radius:4px;
}

.swiper-navigation-icon {
	display:none;
}



/* Štýl navigačných šípok */
.swiper-button-next,.swiper-button-prev {
    color: var(--text);
    background-color: var(--gray);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    transition: background-color 0.3s ease, color 0.3s ease;
    position: absolute;
    z-index: 9;
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    flex-wrap: nowrap;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: rgba(0,0,0,0.7);
    color: #ffffff; /* zmena farby šípky pri hover */
}

.swiper-button-next i::before,
.swiper-button-prev i::before {
    font-size: 1.2rem;          /* veľkosť šípky */
	position: relative;
}

.swiper-button-next i::before {
	left:1px;
}

.swiper-button-prev i::before {
	right:1px;
}

.swiper-button-next {
    right: -1rem;
}

.swiper-button-prev {
    left: -1rem;
}

.mySwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-text-overlay {
    position: absolute;
    left: 25%;
    transform: translate(-25%);
    color: #fff;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slider-heading {
	font-size: 1.65rem;
	font-weight: 600;
	margin-bottom: 2rem;
	padding:1rem;
	background-color:var(--accent);
	width: fit-content;
	border-radius:4px;
	
}

.slider-subtext {
	max-width: 45ch;
	margin: 0 auto;
	text-align:left;
	font-weight:300;
}

@media (min-width: 992px) {
    .mySwiper { height: 680px; }
	
	.swiper-button-next {
    right: -25px;
}

	.swiper-button-prev {
		left: -25px;
	}

.slider-text-overlay {
        position: absolute;
        left: 15%;
        transform: translate(-15%);
        color: #fff;
        z-index: 10;
        height: 100%;
        top: 0;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: center;
        display: flex;
    }

.slider-heading {
	font-size: clamp(1.85rem, 1.1552rem + 1.1207vw, 2.5rem);
	margin-bottom: 2rem;
	padding:2rem;
	
}

.slider-subtext {
	max-width: 45ch;
	margin: 0 auto;
	text-align:left;
	font-weight:300;
}
	
}

@media (max-width: 767px) {
	.slider-text-overlay {
        position: absolute;
        left: 50%;
        transform: translate(-50%);
        color: #fff;
        z-index: 10;
        width: 75%;
        height: 100%;
    }
	
	.slider-heading {
	text-align:center;
	width:fit-content;
}

.slider-subtext {
	font-weight:300;
}

	.swiper-button-next {
    right: -.75rem;
}

	.swiper-button-prev {
		left: -.75rem;
	}

.swiper-button-next, .swiper-button-prev {
	width:35px;
	height:35px;
}

.swiper-wrapper-container::before {
	background:rgba(0,0,0,0.5);
}
}

.swiper-wrapper {
	overflow:visible;
}

