.hero-banner-block { margin: 0; padding: 0; position: relative; z-index: 0; }
.hero-banner-slider { margin: 0; }
.slick-dotted.slick-slider.hero-banner-slider { margin: 0 }
.hero-banner-slider:not(.slick-initialized) .hero-banner-slide:not(:first-child) { display: none; }
.hero-banner-slide { margin: 0; }
.hero-banner-slider .slick-dots { bottom: auto; top: 1rem; left: 0; right: 0; text-align: center; position: absolute; z-index: 9999; }
.hero-banner-slider .slick-dots li { margin: 0 5px; width: 10px; height: 10px;}
.hero-banner-slider .slick-dots li button { width: 7px; height: 7px; background: #ffffff; border-radius: 50%; opacity: 0.65; padding: 0; box-shadow: 0 0 3px rgba(0,0,0,0.9); transition: all 0.3s ease; }
.hero-banner-slider .slick-dots li button:before { display: none; }
.hero-banner-slider .slick-dots li.slick-active button { opacity: 1; transform: scale(1.3); }
.hero-banner-slider .hero-banner-header { height: 60vh; min-height: 600px; position: relative; overflow: hidden; }
.hero-banner-slider .hero-banner-content-wrapper { height: 100%; margin: 0; width: 100%; max-width: 100%; }

@media screen and (max-width: 800px) {
	.hero-banner-slider .slick-dots li button { width: 7px; height: 7px; background: #ffffff; border-radius: 50%; opacity: 0.65; padding: 0; box-shadow: 0 0 3px rgba(0,0,0,0.9); transition: all 0.3s ease; }
	}
}	

.hero-banner-slider .hero-button {
    margin-top: 1.3rem;
}

@media screen and (max-width: 800px) {
	.hero-banner-slider .hero-button {
    	margin-top: 1.35rem;
	}
}

@media screen and (max-width: 800px) {
	.hero-banner-slider .hero-button {
    	margin-bottom: 1.65rem;
	}
}

.hero-banner-slider .entry-subtitle {
    font-size: 1.375rem;
    margin: 1.9rem 0 0 0;
}

.hero-banner-slider .hero-banner-left { position: relative; height: 100%; padding: 0; }
.hero-banner-slider .hero-banner-image { width: 100%; height: 100%; position: relative; }
.hero-banner-slider .hero-banner-image img { width: 100%; height: 100%; object-fit: cover; }

.hero-banner-slider .hero-banner-image.has-mask {
    -webkit-mask-image: url('/wp-content/themes/yrjojahanna/img/hero-diamond.svg');
    mask-image: url('/wp-content/themes/yrjojahanna/img/hero-diamond.svg');
    mask-position: right center;
    -webkit-mask-position: right center;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-size: auto 150%;
    -webkit-mask-size: auto 150%;
}

@media screen and (max-width: 800px) {
	.hero-banner-slider .hero-banner-image.has-mask {
    	-webkit-mask-image: none;
    	mask-image: none;
    	mask-position: right center;
    	-webkit-mask-position: right center;
    	mask-repeat: no-repeat;
    	-webkit-mask-repeat: no-repeat;
    	mask-size: auto 150%;
    	-webkit-mask-size: auto 150%;
	}
}

.hero-banner-slider .image-text {
    position: absolute;
    bottom: 2rem;
    left: 4rem;
    color: #fff;
    background: rgba(0,0,0,0.35);
    padding: 0.5rem 0.75rem 0.5rem 0.7rem;
    z-index: 2;
    max-width: 57%;
}

@media screen and (max-width: 800px) {
	.hero-banner-slider .image-text {
    	left: 1rem;
    	bottom: 1rem;
	}
}

.hero-banner-slider .btn-primary-alt .link-arrow .arrow-svg svg {
    fill: currentColor;
}

.hero-banner-slider .hero-banner-content { z-index: 2; display: flex; align-items: center; height: 100%; }
.hero-banner-slider .hero-title { margin-top: -1.5rem; margin-left: 4rem; margin-right: 4rem; width: 100%; }

@media screen and (max-width: 1500px) {
    .hero-banner-slider .hero-banner-header { height: 50vw; min-height: 300px; max-height: 600px; }
}

@media screen and (max-width: 800px) {
    .hero-banner-slider .hero-banner-header { height: auto; flex-direction: column; display: flex; padding-top: 5.5rem; padding-bottom: 5.5rem; }
    .hero-banner-slider .hero-banner-content-wrapper { display: flex; flex-direction: column; height: auto; padding-bottom: 2.5rem; }
    
    .hero-banner-slider .hero-banner-left { width: 100%; height: 300px; order: 1; }
    .hero-banner-slider .hero-banner-right { width: 100%; order: 2; }
    
    .hero-banner-slider .hero-banner-content { padding: 2rem 1rem; height: auto; }
    .hero-banner-slider .hero-title { margin: 0; text-align: center; }
    .hero-banner-slider .hero-button a { margin: auto}
    .hero-banner-slider .slick-dots { display: none; }
    .hero-banner-slider .image-text {max-width: 90%;}
}