.foundation-item:not(.foundation-item--outside){
    position: relative;
    padding: 38px 40px;
}
.foundation-item.foundation-item--outside{
    position: relative;
    background: none !important;
}
.foundation-item__img{
    position: absolute;
    left: 0;
    right: 0;
    z-index: 1;
}
.foundation-item__img--cover{
    top: 0;
    bottom: 0;
}
.foundation-item__img--bottom{
    bottom: 0;
}
.foundation-item__img--top{
    top: 0;
}
.foundation-item__img--cover img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.foundation-item__text{
    position: relative;
    line-height: 1.5;
    z-index: 10;
}
.foundation-item__link{
    position: absolute;
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    display: block;
    z-index: 5;
}
.foundation-item__link svg{
    display: block;
    width: 100%;
    height: 100%;
}
.foundation-item__text h3{
    font-weight: 700;
    text-transform: none;
    text-decoration: none;
    font-family: Inter, Sans-Serif;
    color: inherit;
    margin-bottom: 7px !important;
    font-size: 16px;
}
.foundation__nav{
    margin-bottom: 40px;
}
.foundation__nav .slick-arrow{
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    border: none;
}
.foundation__nav .slick-arrow.slick-disabled{
    opacity: 0.5;
}
.foundation__nav .slick-arrow:before,
.foundation__nav .slick-arrow:after{
    display: none;
}
.foundation__nav .slick-arrow.slick-prev {
    background: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http://www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M18%2019.882L10.198%2012.002L18%204.12195L15.901%202.00195L6%2012.002L15.901%2022.002L18%2019.882Z%22%20fill%3D%22%23181818%22/%3E%3C/svg%3E") no-repeat center/100% 100%
}

.foundation__nav .slick-arrow.slick-next {
    background: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http://www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M6%204.11805L13.802%2011.998L6%2019.878L8.09901%2021.998L18%2011.998L8.09901%201.99805L6%204.11805Z%22%20fill%3D%22%23181818%22/%3E%3C/svg%3E") no-repeat center/100% 100%;
    margin-left: 25px;
}

.key-features {
    margin-bottom: 33px;
}
.foundation-item__img--desktop{
    display: none !important;
}
.foundation-item__outside-box{
    position: relative;
    margin-bottom: 24px;
}
@media only screen and (min-width: 1500px){
    .powered-block {
        background-position: 50% 70% !important;
    }
}
.slick-slide img.foundation-item__img--medium,
.slick-slide img.foundation-item__img--large{
	display: none;
}
@media only screen and (min-width: 768px){
	.slick-slide img.foundation-item__img--large,
	.slick-slide img.foundation-item__img--small{
		display: none;
	}
	.slick-slide img.foundation-item__img--medium{
		display: block;
	}
}
@media only screen and (min-width: 1000px){
	.slick-slide img.foundation-item__img--medium,
	.slick-slide img.foundation-item__img--small{
		display: none;
	}
	.slick-slide img.foundation-item__img--large{
		display: block;
	}
    .foundation-item__img--mobile{
        display: none !important;
    }
    .foundation-item__img--desktop{
        display: block !important;
    }
    .foundation__slider .slick-list{
        overflow: visible;
    }
    .foundation__slider{
        position: relative;
    }
    /*.foundation__slider:before{
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        right: calc(100% - 20px);
        background: var(--foundation_decor_over_color, #eee);
        width: calc((100vw - 1240px)  / 2 + 20px);
        z-index: 100;
    }*/
    .foundation__slider .slick-slide{
        transition: all 0.3s ease-out;
        opacity: 0;
    }
    .foundation__slider .slick-slide.slick-active,
    .foundation__slider .slick-slide.slick-active ~ .slick-slide{
        opacity: 1;
    }
    .foundation-item__link{
        right: 40px;
        bottom: 40px;
    }
}
@media only screen and (min-width: 768px){
    .foundation__slider{
        margin-left: -20px;
        margin-right: -20px;
    }
    .foundation__slider .slick-slide{
        padding-left: 20px;
        padding-right: 20px;
    }
    .foundation-item:not(.foundation-item--outside),
    .foundation-item__outside-box{
        height: 511px;
    }

    /*.wp-block .foundation__slider{*/
    /*    max-height: 511px;*/
    /*}*/
    .foundation__nav{
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }
    p + .foundation .foundation__nav{
        margin-top: -56px;
    }
}
@media only screen and (min-width: 1480px){
	/*.thrill-100 .foundation-item:not(.foundation-item--outside),*/
	/*.thrill-100 .foundation-item__outside-box{*/
	/*	height: 640px;*/
	/*}*/
}
@media only screen and (max-width: 767px){
	.foundation__slider{
		margin-left: -12px;
		margin-right: -12px;
	}
	.foundation__slider .slick-slide{
		padding-left: 12px;
		padding-right: 12px;
	}
	.foundation__slider .slick-dots{
		margin: 0 12px 0 !important;
	}
    .foundation-item .foundation-item__text p {
        margin-bottom: 40px;
    }
	.slick-on-mobile .foundation-item .foundation-item__text p {
		margin-bottom: 40px;
	}
    .foundation-item:not(.foundation-item--outside){
        padding: 28px 24px;
    }
    /*.wp-block .foundation__slider{*/
    /*    max-height: 440px;*/
    /*}*/
    .foundation__nav{
        display: none;
    }
    .foundation-item:not(.foundation-item--outside),
    .foundation-item__outside-box{
        height: 440px;
        margin-bottom: 22px;
    }
    .foundation__slider .foundation-item:not(.foundation-item--outside){
        height: var(--slide_h, 440px);
    }
    .dreamin-block .foundation__slider .foundation-item:not(.foundation-item--outside),
    .dreamin-block .foundation__slider .foundation-item .foundation-item__outside-box {
        height: 420px;
    }
    .dreamin-block .foundation__slider .foundation-item:not(.foundation-item--outside),
    .dreamin-block .foundation__slider .foundation-item .foundation-item__outside-box {
        height: 617px;
    }
    .dreamin-block .foundation__slider .foundation-item:not(.foundation-item--outside),
    .dreamin-block .foundation__slider .foundation-item .foundation-item__outside-box {
        height: 490px;
    }
    .dreamin-block .foundation__slider .foundation-item:not(.foundation-item--outside),
    .dreamin-block .foundation__slider .foundation-item .foundation-item__outside-box {
        height: 553px;
    }
    .key-features {
        margin-bottom: 21px;
    }
}

.foundation-item__link svg circle, .foundation-item__link svg path{
    transition: all 0.12s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.foundation-item__link:hover svg circle {
    fill: #555555;
}

.foundation-item__link:hover svg path {
    fill: #F8F8F8;
}

/*@media screen and (-webkit-min-device-pixel-ratio:0) {
    .foundation__slider {
        overflow-x: scroll;

    }
    .foundation__slider::-webkit-scrollbar {
        display: none;
        width: 0;
        background: transparent;
    }
}*/
.foundation__slider .slick-dots{
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.foundation__slider .slick-dots li{
	flex: 1 1 auto;
}
.foundation__slider .slick-dots li button:before{
	display: none;
}
.foundation__slider .slick-dots li button{
	width: 100%;
	font-size: 0;
	white-space: nowrap;
	padding: 0;
	text-indent: -9999px;
	overflow: hidden;
	height: 4px;
	background: #B9B9B9;
}
.foundation__slider .slick-dots li.slick-active button{
	background: #181818;
}
@media only screen and (max-width: 1000px) and (min-width: 768px){
	.slick-on-mobile .foundation-item:not(.foundation-item--outside),
	.slick-on-mobile .foundation-item__outside-box {
		height: 44.27vw;
	}
	.foundation__slider .slick-dots{
		width: 343px;
		margin: 0 auto 20px;
	}
	.foundation-item__text p{
		margin-bottom: 40px;
	}
	.foundation__nav{
		display: none;
	}
	.gb-headline-8a0a61e8 br{
		display: none;
	}
}
@media only screen and (max-width: 767px){
	.slick-on-mobile .foundation-item:not(.foundation-item--outside),
	.slick-on-mobile .foundation-item__outside-box {
		height: 90.66vw;
	}
	.gb-headline-8a0a61e8 br{
		display: none;
	}
}
