.samstroje-reference {
    background-color: #E7EEEE;
}
.samstroje-reference a {
    display: flex!important;
    min-height: 500px;
}
.samstroje-reference a:hover,
.samstroje-reference a:focus {
    text-decoration: none!important;
}
.samstroje-reference a:hover .samstroje-reference-link,
.samstroje-reference a:focus .samstroje-reference-link {
    text-decoration: underline;
}
.samstroje-reference-desc {
	display: flex;
    flex-direction: column;
	width: 50%;
	padding: 48px 40px;
}
.samstroje-reference-desc h4 {
    max-width: 378px;
}
.samstroje-reference-link {
	margin-top: auto;
}
.samstroje-reference-thumb {
    display: flex;
    overflow: hidden;
    align-items: center;
	width: 50%;
}
.samstroje-reference-thumb img {
    object-fit: cover;
    min-width: 100%;
    min-height: 100%;
}
.elementor-samstroje-references-carousel-wrapper .swiper-pagination {
    display: flex;
    justify-content: center;
    line-height: 0;
    bottom:0!important;
}
.samstroje-reference-category {
	font-family: 'Rational Display', Sans-serif;
	font-weight: bold;
	font-size: 16px;
	line-height: 20px;
	text-transform: uppercase;
	padding-bottom: 24px;
}
.elementor-samstroje-references-carousel-wrapper .swiper-container-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 8px;
}
.elementor-samstroje-references-carousel-wrapper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #F1F0E7;
    opacity: 1;
}
.elementor-samstroje-references-carousel-wrapper .swiper-pagination-bullet-active {
    opacity: 1;
    background-color: #CAC9C0;
}
.elementor-samstroje-references-carousel-wrapper .swiper-container .swiper-slide figure, 
.elementor-samstroje-references-carousel-wrapper .swiper .swiper-slide figure {
    line-height: 0;
}

.elementor-samstroje-references-carousel-wrapper.swiper-container {
    padding-bottom: 36px!important;
}

@media(max-width:767px){
    .samstroje-reference a {
        flex-direction: column;
    }
    .samstroje-reference-desc {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 360px;
        padding: 32px 24px;
    }
    .samstroje-reference-thumb {
        width: 100%;
        height: 324px;
    }
}
