/* DESKTOP - Prevent slider layout shift before Slick initialization */
#slider:not(.slick-initialized) {
    min-height: 375px;
    overflow: hidden;
    position: relative;
}

#slider:not(.slick-initialized) .slide-div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

#slider:not(.slick-initialized) .slide-div:first-child {
    position: relative;
}

#slider:not(.slick-initialized) .slide-div:not(:first-child) {
    visibility: hidden;
}

/* TABLET & MOBILE - aspect-ratio podle desktop slideru (790:428) */
@media (max-width: 768px) {
    #slider:not(.slick-initialized) {
        aspect-ratio: 395 / 214;
        min-height: auto;
        overflow: hidden;
    }
    
    #slider:not(.slick-initialized) .slide-div {
        height: 100%;
    }
    
    #slider:not(.slick-initialized) .slide-div img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.slick-slider {
	position: relative;
	display: block;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-touch-callout: none;
	-khtml-user-select: none;
	-ms-touch-action: pan-y;
	touch-action: pan-y;
	-webkit-tap-highlight-color: transparent;
}

.slick-list {
	position: relative;
	display: block;
	overflow: hidden;
	margin: 0;
	padding: 0;
}

.slick-list:focus {
	outline: none;
}

.slick-list.dragging {
	cursor: pointer;
	cursor: hand;
}

.slick-slider .slick-list,.slick-slider .slick-track {
	-webkit-transform: translate3d(0, 0, 0);
	-moz-transform: translate3d(0, 0, 0);
	-ms-transform: translate3d(0, 0, 0);
	-o-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}

.slick-track {
	position: relative;
	top: 0;
	left: 0;
	display: block;
}

.slick-track:after,.slick-track:before {
	display: table;
	content: '';
}

.slick-track:after {
	clear: both;
}

.slick-loading .slick-track {
	visibility: hidden;
}

.slick-slide {
	display: none;
	float: left;
	height: 100%;
	min-height: 1px;
}

[dir=rtl] .slick-slide {
	float: right;
}

.slick-slide img {
	display: block;
}

.slick-slide.slick-loading img {
	display: none;
}

.slick-slide.dragging img {
	pointer-events: none;
}

.slick-initialized .slick-slide {
	display: block;
}

.slick-loading .slick-slide {
	visibility: hidden;
}

.slick-vertical .slick-slide {
	display: block;
	height: auto;
	border: 1px solid transparent;
}

.slick-arrow.slick-hidden {
	display: none;
}
